Knowledge Base
The knowledge base lets you upload documents that agents can search and reference during conversations. When a caller asks a question, the agent retrieves relevant passages and uses them to construct an accurate answer.
How it works
- Upload documents (PDF, DOCX, TXT) to a project's knowledge base
- Vois AI chunks and embeds the content using vector search
- When an agent needs to answer a question, it queries the knowledge base and retrieves the most relevant passages
- The agent uses those passages as context when generating a response
This is called Retrieval Augmented Generation (RAG) — the agent is grounded in your documents rather than relying solely on the LLM's training data.
Adding documents
- Go to your project → Knowledge Base
- Click Upload Document
- Select a PDF, DOCX, or TXT file (max 50 MB)
- Wait for processing — large documents may take a minute
Enabling knowledge base for an agent
Open the agent editor → Tools tab → enable Document Lookup.
The agent will automatically search the knowledge base when it needs information it doesn't have in its system prompt.
Best practices
- Use clear headings and structure in your documents — chunks with good context retrieve better
- Upload focused documents rather than large omnibus files
- Keep documents up to date — outdated content can mislead the agent
- Test retrieval in the playground after uploading new documents