Retrieval Modes
Setup
1
Create a knowledge base
2
Upload a document
3
Link to an agent
Choose the retrieval mode that fits your content:
On a speech-to-speech agent (
pipeline_mode: "s2s") prompt and tool mode
work and auto does not: the agent read warns about it. See
Speech-to-speech.Inline agents
An inline agent — a call-init response that answersagent instead of
agent_id, or an eval inline target — has no agent to link a knowledge base
to. It names its own in knowledge_bases, with the same fields as a link:
Test Search
Debug your knowledge base by running a test search:Configuration
Knowledge Base Settings
Link Settings
Architecture
Requires PostgreSQL with the pgvector extension:
CREATE EXTENSION IF NOT EXISTS vector;