Docs
Sign in

Knowledge Bases

Knowledge Bases is where you create, fill, test and manage the knowledge bases that your agents can search.

Screenshot to add: The Knowledge bases list with scope tabs, a search box, the Ingestion and New knowledge base buttons, and a grid of knowledge base cards.

The pages are at /memory/knowledge/bases (the list) and /memory/knowledge/bases/<id> (one knowledge base). In the product these live under Memory (Cortex).

Key terms

TermMeaning
SourceOne thing you add: an uploaded file, a web page (URL) or pasted text
ChunkA small piece of a source. Chunks are what search returns
Embedding modelThe model that turns each chunk into numbers so it can be searched by meaning
ScopeWho can read the knowledge base: Private, Team, Org or Project
Access levelA label on each source: Public, Internal, Restricted or Confidential

The knowledge bases list

The header shows totals, for example "3 knowledge bases · 12 sources · 480 chunks". With none, it says "No knowledge bases yet".

ControlWhat it does
Ingestion (button)Opens the cross-knowledge-base Ingestion page
New knowledge base (button)Opens the create window
Scope tabs: All, Private, Team, Org, ProjectShow only knowledge bases with that scope
Search by name, description or tagFilters the list. The search runs on the server, so it covers every page
Clear filtersShown when a search or scope tab hides everything

Each card shows:

  • The name, the description ("No description" when empty) and a status.
  • A scope tag, the embedding model, and up to three tags (extra ones show as +2, and so on).
  • Sources and Chunks counts.

Click a card to open it. Lists longer than 20 are split into pages.

Status

StatusMeaning
ReadyThe knowledge base has at least one source
EmptyIt has no sources yet
InactiveThe server reports the knowledge base as not active

With no knowledge bases at all, the page says "Create one, then add files, URLs or text to it."

Create a knowledge base

Click New knowledge base. The window says "Sources, embeddings, scope and retrieval are isolated per knowledge base."

FieldNotes
Name (required)For example "Product documentation"
Description"What this knowledge base contains"
ScopePrivate — only you (default), Team — your team can read and write, Org — everyone in the organization, or Project — all members of the active project
TagsType a tag and press Enter or comma, or click Add. Tags are made lower case and spaces become dashes. Duplicates are ignored
Embedding modelDefaults to all-MiniLM-L6-v2 (local ONNX, 384-dim). Other models come from the platform
Chunk sizeTokens per chunk. A slider from 128 to 4096 in steps of 64. Default 512
OverlapTokens shared between neighbouring chunks. A slider in steps of 16, from 0 up to 512 (and always below the chunk size). Default 64

Click Create knowledge base. A message confirms it. If a project is selected, the knowledge base is tied to that project whatever scope you choose. Scope decides who can see it. The project is where it lives.

Open a knowledge base

The page header shows the name, a status, the scope, and a summary line such as "4 sources · 120 chunks · all-MiniLM-L6-v2 · updated 2h ago". A Knowledge bases link goes back to the list.

Screenshot to add: A knowledge base header with Test retrieval and Add source buttons, an overflow menu, and the tabs Sources, Ingestion, Retrieval, Settings and Access.
ActionWhat it does
Test retrievalOpens the Retrieval tab
Add source menuUpload files, Ingest a URL or Paste text. Each opens the add window on the Sources tab
More actions > Delete knowledge baseDeletes it (see below)

There are five tabs: Sources (with a count), Ingestion, Retrieval, Settings and Access. Each tab has its own web address, so reloading or sharing a link keeps you on the same tab.

If it cannot load, you see "Couldn’t load this knowledge base" with a retry button.

Sources tab

Lists everything in the knowledge base. Files, URLs, pasted text and connector output share one list. The list refreshes every 10 seconds.

  • Search sources matches the title or the URL.
  • Status chips filter by Indexed, Indexing or Failed, each with a count.
  • If any source failed, a banner says "N source(s) failed to index", lists their names and links to Review in Ingestion.
  • If there are more than 500 sources, a note says "Showing the 500 most recent of N sources."
ColumnShows
SourceTitle and "Added" time. Sortable
TypeFile, Url, Text or Connector
ChunksNumber of chunks. Sortable
SizeIn KB or MB. Sortable
AccessThe source's access level
StatusIndexed, Indexing or Failed

Each row has an actions menu: View chunks and Delete source. Deleting asks for confirmation and removes the source's chunks.

An empty list says "No sources yet" and offers Upload files. A search with no matches says "No sources match".

Add a source

Choose from the Add source menu. Every mode has an Access level (default Internal) and shows any error from the server in red.

ModeWindow titleFieldsButton
FilesUpload filesDrop files or click to browse. Accepted: PDF, DOCX, XLSX, TXT, MD, CSV, JSON, HTML, "up to 50 MB each". You can add several and remove any with the xUpload and index
URLIngest from URLURL (required), for example https://docs.example.comIngest URL
TextPaste textTitle (blank becomes "Untitled") and Content (required)Ingest text

The button stays off until you have a file, a URL or some content. Indexing then runs in the background. Follow it on the Ingestion tab.

View chunks

View chunks (or a click on the row) opens a side panel titled Chunks with the source name. It shows the chunk count, total tokens and size. Each chunk is collapsed to two lines. Click Chunk 1, Chunk 2 and so on to expand it. Copy copies the text. If none exist, it says "No chunks recorded for this source yet."

Ingestion tab

Shows the ingestion jobs for this knowledge base only. It is the same table as the Ingestion page, without the knowledge base column. It refreshes every 5 seconds.

ItemDetails
SearchSearch by source
FiltersStatus: All statuses, Queued, Running, Completed, Failed. Source: All sources, Files, File uploads, URLs, Text, Connector
ColumnsSource, Status, Chunks, Started, Completed
RetryOn failed jobs. It starts a new job. A failed job also shows its error message

With no jobs, it says "No ingestion jobs yet". The Review in Ingestion link on the Sources tab opens this tab filtered to failed jobs.

Retrieval tab

A test bench for searching this knowledge base. It is the same console as the Retrieval Playground, already set to this knowledge base.

FieldNotes
QueryFor example "How do we handle PTO in Q1?". Press Ctrl+Enter (or Cmd+Enter) to run
Top KHow many chunks to return. 1 to 50, default 5
Min scoreHides chunks scoring below this. 0 to 1 in steps of 0.05, default 0.30

Click Run query. The results show a count, how many knowledge bases they came from, the score range and the time taken. Each result card shows the source title, a score bar with three decimals, the chunk text and a Copy button. Past queries are listed under This session. Click one to reopen it and its settings.

Before any query, it says "No query yet". If nothing scores high enough, it says "No chunks matched", and suggests lowering the minimum score or rephrasing.

Settings tab

Has General, Indexing and Danger zone sections and a save bar.

SectionFieldNotes
GeneralName (required), Description, TagsShown on the list
IndexingEmbedding modelLocked once any chunks are indexed, or if the knowledge base has its own vector collection
IndexingChunk sizeWhole number from 128 to 4096
IndexingOverlapWhole number, 0 or more, and less than the chunk size
Danger zoneDelete knowledge baseRemoves every source and chunk

Chunking changes apply only to sources added after you save. The save bar appears when you change something. Use it to save or discard. Only fields you changed are sent.

The embedding model hint explains why it is locked: "Locked while N chunks are indexed. Delete every source, or create a new knowledge base, to change it." A managed collection says "Locked: this knowledge base has its own vector collection. Create a new one to use a different model." Otherwise it says "Changing it applies to sources added from now on."

Deleting

Delete knowledge base opens a confirmation. You must type the knowledge base's name to confirm. Every source, chunk and embedding is removed and this cannot be undone. You return to the list.

Access tab

Sets who can read the knowledge base. The page notes that "Per-KB access lists beyond scope aren’t supported yet."

ScopeHint
PrivateOnly you can read or change it
TeamMembers of one team can read it
OrganizationEveryone in your organization can read it
  • Choosing Team shows a required Team list ("Choose a team"). Without a team it stays readable by you alone. Saving stays off until you pick one ("Choose a team to save").
  • Organization is offered only if you have admin permission on the knowledge base catalog, or the knowledge base is already organization-wide.
  • A knowledge base created with the Project scope shows a Project option ("All members of the KB’s project can read it").

Click Save access (or discard).

Good to know

  • The create window offers Org, but the Access tab calls the same scope Organization. They are the same setting.
  • The Access tab has no Project choice to pick. A project scope can only be set at creation.
  • The first tab is labelled Sources, though its web address ends in /documents.
  • The embedding model is fixed once content is indexed. Pick the model before you add sources.