Knowledge bases let your scenario retrieve facts from your documents during a live conversation. Use them when your assistant should answer with domain-specific information instead of relying only on general model knowledge.Documentation Index
Fetch the complete documentation index at: https://docs.akapulu.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview of knowledge bases
A knowledge base contains:- a knowledge base (container)
- one or more documents (your uploaded files)
Create a knowledge base
- Go to akapulu.com/knowledge-bases.
- Click New Knowledge Base.
- Enter:
name- optional
description
- Open the new knowledge base and click Add Document +.
- set:
- document
name - optional document
description
- document
- Upload a file
When you upload a document, it will show up in your knowledge base right away with a
Pending status.That means Akapulu is still processing it in the background by splitting it into searchable chunks and preparing it for retrieval.This usually takes about 15–20 seconds.Once it’s ready the status will change to Completed (refresh the page to see the updated status).Attach a knowledge base to a scenario
Attach via JSON
Attach the knowledge base in your scenario by adding a function withtype: "rag" and the target knowledge_base_id:
The function name and description are presented to the LLM as tool metadata, so use clear action-oriented wording.
Attach via UI
Use the scenario builder when you want to attach a knowledge base without editing JSON:- Open your scenario and go to the target node.
- Click Add function.
- In the modal, open the RAG Tool tab.
- Select your knowledge base by name.
- Enter a semantically meaningful function name and description.
- the model can invoke it like any other tool
- Akapulu queries the specified knowledge base
- relevant context is returned to the LLM to use in its response

