Knowledge Base
Citations
Understand where the agent's response came from.
Citations help audit responses that are based on the Knowledge Base.
Structure
Each citation contains:
| Field | Description |
|---|---|
knowledge_base_id | Source KB. |
knowledge_base_name | KB name. |
document_id | Specific document. |
document_name | Document name. |
chunk_id / chunk_index | Exact fragment. |
score | Chunk relevance. |
content | Retrieved text. |
reason | Justification for retrieval. |
Viewing
In the KB diagnostic, enter a question and see the returned chunks with score and reason.
Best practices
- Name documents descriptively.
- Split long content into topic documents.
- Review citations when the agent gives incorrect answers.

