Diska
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:

FieldDescription
knowledge_base_idSource KB.
knowledge_base_nameKB name.
document_idSpecific document.
document_nameDocument name.
chunk_id / chunk_indexExact fragment.
scoreChunk relevance.
contentRetrieved text.
reasonJustification 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.
Copyright © 2026