Skip to main content

How retrieval works

RAG (Retrieval-Augmented Generation) retrieves relevant information when an assistant needs it. Assistable’s native Knowledge Bases already use retrieval: supported sources are processed and indexed, and relevant passages from the assistant’s linked knowledge bases can be supplied with a response. You do not need a separate external database just to use this retrieval path. A standard Knowledge Base is not a guarantee that every source is inserted into every prompt.

Set up native knowledge

1

Create a Knowledge Base

Create a knowledge base for the business or topic. See Knowledge Base for the setup guide.
2

Add sources and wait for processing

Add text, FAQ entries, website URLs, or supported files. Wait for the sources to finish processing before testing retrieval.
3

Link it to the assistant

Assign the knowledge base to the assistant that should use it. For voice use, check that voice access is enabled and available for the knowledge base.
4

Test representative questions

Ask questions that require the linked sources and compare the answers with the original material. Update incomplete or conflicting sources and test again.
Retrieval quality depends on the sources, their processing status, and the question. It does not guarantee an exact answer or a fixed reduction in token usage. See Knowledge Base Optimization for ways to improve source content.

External database integrations

The older Buildship, Supabase, and OpenAI custom-database recipe is a legacy integration. It is separate from the native Knowledge Base setup above.
Use an external database integration when your application needs a separately managed data source or custom lookup behavior. Configure and test the endpoint through a custom tool, including its authentication, parameters, and response format. Do not assume the old recipe’s hosting URLs or setup steps are current.