Knowledge Base (RAG)¶
The Knowledge Base module in DeepExtension allows users to convert documents into vector representations for use in retrieval-augmented generation (RAG) and related knowledge-aware AI workflows. This is especially useful for enterprise applications that require grounding LLM outputs in internal documentation.
Create a Knowledge Base¶
To set up a new Knowledge Base:
- Click "Create a Knowledge Base" on the Embedding page.
- Fill in the Knowledge Base name and a short description.
- Select an embedding model. If no models appear, register a usable embedding model via Third-party Models.
- Click "Save" — your Knowledge Base will be created immediately.
Add Embedded Documents¶
To add documents to an existing Knowledge Base:
- Click "Edit" on the Knowledge Base you want to modify.
- You’ll see a list of already embedded documents (initially empty).
- Click "Upload Document", then select a file in
.pdf,.docx,.txt,.xlsx, or.csvformat from your local directory. - Choose whether to enable “Parsing During Creation” (this will trigger immediate embedding using the selected model) or skip for later parsing.
- Click "Execute" to begin uploading. The process runs in background mode.
- If an error occurs, click "Log" to inspect detailed error messages.
Document Embedding Behavior¶
While document upload and embedding are supported, full Knowledge Base search and RAG-style retrieval are still under development and listed on our roadmap for future releases.
DeepExtension — Make your documents searchable, contextual, and ready for generation