Knowledge Bases
Knowledge Bases is where you create, fill, test and manage the knowledge bases that your agents can search.
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
| Term | Meaning |
|---|---|
| Source | One thing you add: an uploaded file, a web page (URL) or pasted text |
| Chunk | A small piece of a source. Chunks are what search returns |
| Embedding model | The model that turns each chunk into numbers so it can be searched by meaning |
| Scope | Who can read the knowledge base: Private, Team, Org or Project |
| Access level | A 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".
| Control | What 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, Project | Show only knowledge bases with that scope |
| Search by name, description or tag | Filters the list. The search runs on the server, so it covers every page |
| Clear filters | Shown 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
| Status | Meaning |
|---|---|
| Ready | The knowledge base has at least one source |
| Empty | It has no sources yet |
| Inactive | The 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."
| Field | Notes |
|---|---|
| Name (required) | For example "Product documentation" |
| Description | "What this knowledge base contains" |
| Scope | Private — only you (default), Team — your team can read and write, Org — everyone in the organization, or Project — all members of the active project |
| Tags | Type a tag and press Enter or comma, or click Add. Tags are made lower case and spaces become dashes. Duplicates are ignored |
| Embedding model | Defaults to all-MiniLM-L6-v2 (local ONNX, 384-dim). Other models come from the platform |
| Chunk size | Tokens per chunk. A slider from 128 to 4096 in steps of 64. Default 512 |
| Overlap | Tokens 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.
| Action | What it does |
|---|---|
| Test retrieval | Opens the Retrieval tab |
| Add source menu | Upload files, Ingest a URL or Paste text. Each opens the add window on the Sources tab |
| More actions > Delete knowledge base | Deletes 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."
| Column | Shows |
|---|---|
| Source | Title and "Added" time. Sortable |
| Type | File, Url, Text or Connector |
| Chunks | Number of chunks. Sortable |
| Size | In KB or MB. Sortable |
| Access | The source's access level |
| Status | Indexed, 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.
| Mode | Window title | Fields | Button |
|---|---|---|---|
| Files | Upload files | Drop 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 x | Upload and index |
| URL | Ingest from URL | URL (required), for example https://docs.example.com | Ingest URL |
| Text | Paste text | Title (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.
| Item | Details |
|---|---|
| Search | Search by source |
| Filters | Status: All statuses, Queued, Running, Completed, Failed. Source: All sources, Files, File uploads, URLs, Text, Connector |
| Columns | Source, Status, Chunks, Started, Completed |
| Retry | On 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.
| Field | Notes |
|---|---|
| Query | For example "How do we handle PTO in Q1?". Press Ctrl+Enter (or Cmd+Enter) to run |
| Top K | How many chunks to return. 1 to 50, default 5 |
| Min score | Hides 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.
| Section | Field | Notes |
|---|---|---|
| General | Name (required), Description, Tags | Shown on the list |
| Indexing | Embedding model | Locked once any chunks are indexed, or if the knowledge base has its own vector collection |
| Indexing | Chunk size | Whole number from 128 to 4096 |
| Indexing | Overlap | Whole number, 0 or more, and less than the chunk size |
| Danger zone | Delete knowledge base | Removes 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."
| Scope | Hint |
|---|---|
| Private | Only you can read or change it |
| Team | Members of one team can read it |
| Organization | Everyone 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.