Citation Display
Web Chat citation display: how the source is labeled when an Agent's answer cites a knowledge base, multilingual and dark mode support, where citations appear, and administrator settings.
This article introduces the citation display optimization features in the Web Chat window, including multilingual support and visual presentation improvements.
What Is Citation Display?
When an Agent answers a question using specific documents or data from a knowledge base, the system displays "citations" below the answer so end users know where the information comes from.
This feature is especially suitable for scenarios that require proof of information sources, such as:
Regulatory inquiry assistant: Displays the source of legal provisions
Policy consultation assistant: Displays policy document sources
Product customer service assistant: Displays product manuals or official documents
Medical information assistant: Displays medical literature sources
Where Citations Appear
When an Agent's answer uses a knowledge base, citation information appears in three places:
Knowledge bases used below the answer
Which knowledge bases were searched for this answer
Citations list below the answer
The names of the cited documents; click View cited nodes to open a dialog listing the passages that were actually cited (cited nodes)
Citation markers in the answer text
Hover over a marker to show a small card with the document name, page number (shows "Source has no pages" if the source is not paginated), a relevance percentage, and two views of the passage, Original text and Highlighted keywords; you can download the original document directly
Fields for each node in the "View cited nodes" dialog:
Similarity score / Relevance
How semantically similar this passage is to the question; the higher it is, the more likely the passage is the basis for the answer
Hit count
How many times this passage was hit in this retrieval; more hits mean it was more often judged relevant
Character count
The length of this node
Original text / Highlighted keywords
Switch between plain text and highlighting the keywords related to the question
Whether citations are displayed is decided by administrators in Function Settings. For the corresponding information in the back-end conversation viewer, see Conversation Viewer: Knowledge Base Citation Tracking.
Multilingual Support
Automatic Language Adaptation
Web Chat citation display now supports automatic multilingual adaptation. When end users switch languages, the citation interface text automatically switches to the corresponding language.
Supported Languages
Traditional Chinese: 引用來源、參考資料
Simplified Chinese: 引用来源、参考资料
English: Citation、References
Language Switch Timing
Web Chat automatically switches languages based on the following scenarios:
Browser language settings: On first load, the display language is based on the user's browser language
Manual switch: When users switch languages in Web Chat, citation text updates accordingly
Website language environment: If your website supports multiple languages, Web Chat automatically matches the website's language settings
Visual Presentation Optimization
In addition to multilingual support, the visual presentation of citations has been optimized for clearer readability.
Optimization Items
Spacing adjustments: More appropriate spacing between citations and answer content for a clearer visual hierarchy
Font style: Citations use a different font style to distinguish them from the main content
Color treatment: Citations use a lighter color so they don't interfere with reading the main content
Icon marker: A consistent icon marks citations for better recognition
Dark Mode Support
Citation display also supports dark mode. When an end user's device uses a dark theme, the text and background colors of citations adjust automatically so they remain clearly visible on a dark background.
Dark Mode Adaptation Items
Text color automatically adjusts to a light color
Background color adapts to the dark theme
Contrast with the main content is maintained
Use Cases
🏛️ Government Policy Consultation Platform
Scenario: When citizens ask about the eligibility requirements for a subsidy policy, the Agent not only provides the answer but also shows a link to the source of the policy announcement.
Benefits:
Increases the credibility of the information
Lets citizens read the full announcement
Reduces citizens' doubts about the accuracy of the information
⚖️ Legal Consultation Assistant
Scenario: When a user asks about the provisions of a regulation, the Agent shows the source of the legal provision and the article number.
Benefits:
Provides a complete legal basis
Users can verify the original provisions
Increases the professionalism of the consultation service
🏥 Medical Information Platform
Scenario: When patients ask about a disease, the Agent indicates which medical paper or patient education article the information comes from.
Benefits:
Provides transparency about information sources
Helps patients understand how reliable the information is
Meets the regulatory requirements for providing medical information
Administrator Settings
Enable Citation Display
Citation display is enabled by default. If you want to adjust the setting:
Go to the "AI Assistant" settings page
Select "Answer Settings"
Find the "Show citations" option
Toggle the switch to enable or disable it
Customize the Citation Format
You can add metadata to knowledge base documents to customize how citations are displayed:
Document title: The document name shown in the citation
Section number: Shows the specific section or page number
Publication date: Shows the document's publication or update date
External link: Provides a link to the original document
FAQ
Q1: Do citations show every referenced document?
Not necessarily. The system shows the "most relevant" citations, usually no more than 3-5, to avoid information overload.
Q2: Can I hide citations?
Yes. Turn off the "Show citations" option in the Agent settings.
Q3: Can I fix the citation language to a specific language?
Citations automatically follow the Web Chat language setting. If you want to fix a specific language, set the language option in the Web Chat settings.
Q4: Are citation links clickable?
Yes. If you set an external link in a knowledge base document, the citation is displayed as a clickable link.
Q5: What if citations are hard to read in dark mode?
The system has been optimized for dark mode. If you still have problems, it may be a browser cache issue; try clearing the cache or refreshing the page.
Last updated
Was this helpful?