Source Citation
Updated
Introduction
While using conversational ai, source citation is important for ensuring the accuracy and reliability of the information provided. In this article, we shall explore the different types of sources used, and how they are displayed in outputs generated by the Sprinklr AI models.
Benefits of source citation
Transparency - It allows users to trace back the information to its original source, thus ensuring transparency.
Credibility - Citing sources enhances the credibility of the information provided, making it easier for you to trust the AI's responses.
Understanding GPT API Output
A GPT API Output typically looks like the following -
In the below image, you can see the output given by GPT. This information can be viewed and validated under the source section.
Types of sources
Knowledgebase
For content from a knowledge base, only the file name is displayed. This ensures that you can easily locate the original document within the knowledge base.
Question-Answer Pairs
For question-answer pairs, the answer given and its type are displayed. This helps you understand the context and reliability of the information provided.
Documents
PDF, DOCX, TXT, HTML, ZIP, JPEG, JPG and PNG
For these document types, only the file name is displayed.
Excel (XLSX)
For Excel files, both the file name and sheet name are displayed. This allows you to locate the exact location of the information within the spreadsheet.
PowerPoint (PPTX)
For PowerPoint files, the file name and slide number are displayed, making it easy for you to find the exact slide containing the information.