Citations in Search and Retrieval
Citations provide important source attribution in query results, enabling users to verify information and trace content back to its original sources. This transparency is essential for building trust in AI-generated content and supporting fact-checking workflows.
How citations work
When Vectara generates summaries or retrieval results, it automatically includes citations that reference the specific sources used. These citations create a direct link between the generated content and the underlying documents, ensuring traceability and accountability.
Citation numbering
Citations appear in the format [number] within summary text, where:
- Numbers start from 1
- Each number corresponds to a result in the
search_resultsarray - Numbers increment sequentially for each unique source referenced
Example with citations
Here's an example query response showing how citations appear in a summary: