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:
@@ -806,6 +806,9 @@ export default {
|
||||
referenceIconAlt: "参考内容图标",
|
||||
chunkIdLabel: "片段ID:",
|
||||
documentIdLabel: "文档ID:",
|
||||
faqIdLabel: "FAQ ID:",
|
||||
faqContainerIdLabel: "所属文档ID:",
|
||||
faqAnswersLabel: "答案:",
|
||||
chunkOrdinal: "片段 {index}",
|
||||
previewContent: "预览内容",
|
||||
noPlanSteps: "未提供具体步骤",
|
||||
@@ -4564,6 +4567,7 @@ export default {
|
||||
getDocument: "获取文档:{title}",
|
||||
document: "文档",
|
||||
listChunks: "查看 {title}",
|
||||
listFaqEntry: "查看 FAQ:{question}",
|
||||
deepThinking: "深度思考",
|
||||
},
|
||||
plan: {
|
||||
@@ -4582,6 +4586,7 @@ export default {
|
||||
chunkHits: "{count} 片段",
|
||||
keywordHits: "{count} 次",
|
||||
titleMatch: "标题匹配",
|
||||
faqEntry: "FAQ 条目",
|
||||
},
|
||||
toolStatus: {
|
||||
calling: "正在调用 {name}...",
|
||||
|
||||
Reference in New Issue
Block a user