feat(faq): enhance FAQ handling and localization support
- Updated the agent system prompt to clarify mandatory deep read requirements for FAQ entries, ensuring accurate retrieval and response generation. - Added new localization strings for FAQ-related labels in English and Chinese, improving user experience and consistency across the application. - Refactored the document and grep results components to support distinct FAQ identification, enhancing clarity in the output. - Introduced new tests for FAQ metadata handling, ensuring robust functionality and correctness in the FAQ processing logic.
This commit is contained in:
@@ -2701,6 +2701,9 @@ export default {
|
||||
referenceIconAlt: 'Reference materials icon',
|
||||
chunkIdLabel: 'Chunk ID:',
|
||||
documentIdLabel: 'Document ID:',
|
||||
faqIdLabel: 'FAQ ID:',
|
||||
faqContainerIdLabel: 'Container ID:',
|
||||
faqAnswersLabel: 'Answers:',
|
||||
chunkOrdinal: 'Chunk {index}',
|
||||
previewContent: 'Preview content',
|
||||
noPlanSteps: 'No detailed steps provided',
|
||||
@@ -4570,6 +4573,7 @@ export default {
|
||||
getDocument: 'Get document: {title}',
|
||||
document: 'Document',
|
||||
listChunks: 'View {title}',
|
||||
listFaqEntry: 'View FAQ: {question}',
|
||||
deepThinking: 'Deep Thinking',
|
||||
},
|
||||
plan: {
|
||||
@@ -4588,6 +4592,7 @@ export default {
|
||||
chunkHits: '{count} chunks',
|
||||
keywordHits: '{count} hits',
|
||||
titleMatch: 'title',
|
||||
faqEntry: 'FAQ entry',
|
||||
},
|
||||
toolStatus: {
|
||||
calling: 'Calling {name}...',
|
||||
|
||||
Reference in New Issue
Block a user