Knowledge bases
Knowledge bases split file content into searchable chunks. Find relevant passages using meaning, keywords and file attributes for question answering, policy lookup and model context.
| Service | What it stores and finds |
|---|---|
| Files | Upload, store and download original files; obtain file IDs |
| Media | Organize assets, folders and tags, and find media such as images |
| Knowledge | Find relevant text passages with their source file and content |
A source file can belong to multiple knowledge bases. Removing it from a knowledge base does not delete the original. Deleting the original removes it from every knowledge base automatically, and it stops appearing in search results.
- Quickstart: upload, ingest and search with the official openai Python SDK.
- Concepts: processing states, chunks, search and restore.
- Limits and errors: capacity, formats and failures.
Where it is used
- Build an AI twin for a teacher: put the teacher’s material in a store and bind it to a service agent that answers students.
- Hand files from a local coding agent to the cloud: upload a PDF, ingest it and download the search result locally.
- Build a cross-product catalogue: Knowledge holds one side of a product next to Media, File and Database.