Merge branch 'dev' into hugo

This commit is contained in:
hugo committed 2026-06-17 22:29:48 +08:00
commit 97a5a1f106
35 files changed
+3749 -259

No files matched your search

+94 -6
View File
@@ -197,27 +197,115 @@
},
"question": {
"title": "Common Questions",
"subtitle": "Manage global quick questions for all users",
"subtitle": "Manage global quick questions with optional FAQ cache to skip Dify on match",
"formHint": "When FAQ cache is enabled, matched questions return the preset answer without consuming tokens.",
"edit": "Edit Question",
"add": "Add New Question",
"noData": "No common questions configured.",
"headers": {
"title": "Title",
"agent": "Agent",
"content": "Match Query",
"answer": "Preset Answer",
"cache": "FAQ Cache",
"hits": "Hits",
"order": "Order",
"actions": "Actions"
},
"sections": {
"basic": "Basic Info",
"matching": "Query Matching",
"cache": "FAQ Cached Answer"
},
"fields": {
"title": "Title",
"titlePlaceholder": "e.g. Write Report",
"titlePlaceholder": "e.g. Working Hours",
"targetAgent": "Target Agent",
"sortOrder": "Sort Order",
"content": "Question Content",
"contentPlaceholder": "Enter the prompt content..."
"content": "Canonical Query",
"contentPlaceholder": "e.g. What time does work start?",
"contentHelp": "Users sending this normalized query will hit the cache.",
"aliases": "Alternative Phrasings",
"aliasesPlaceholder": "One per line, e.g.:\nWhat time do we start?\nOffice hours?",
"aliasesHelp": "Optional. Each line is an alternative phrasing that maps to the same answer.",
"answer": "Preset Answer",
"answerPlaceholder": "Full answer returned directly on cache hit…",
"cacheEnabled": "Enable FAQ cache (skip Dify)",
"isEnabled": "Show on workspace",
"cacheHelp": "When enabled, matched queries return the preset answer below without calling Dify.",
"expiresAt": "Expires At",
"expiresAtHelp": "Optional. After expiry the entry will not match. Leave empty for no expiry."
},
"filters": {
"search": "Search title, query or answer…",
"allAgents": "All agents",
"cacheOnly": "Cache enabled only",
"resultCount": "{count} item(s)"
},
"badges": {
"cacheOn": "Cached",
"cacheOff": "Not cached",
"disabled": "Disabled"
},
"labels": {
"aliases": "{count} alias(es)"
},
"confirmDelete": "Are you sure you want to delete this question?",
"actions": {
"edit": "Edit",
"delete": "Delete"
},
"confirmDelete": "Are you sure?",
"msg": {
"fillAll": "Please fill all fields"
"fillAll": "Please fill in title, query and target agent",
"answerRequired": "Preset answer is required when FAQ cache is enabled",
"saved": "Saved successfully"
},
"tabs": {
"manual": "Common Questions",
"hotDiscovery": "Hot Discovery"
}
},
"hotFaq": {
"intro": "Discovers frequent queries from recent ChatLogs and stores candidates in PostgreSQL. Promote to FAQ after review.",
"showRules": "View aggregation rules",
"hideRules": "Hide rules",
"redisUnavailable": "Redis is not configured or unavailable.",
"noData": "No hot candidates yet. Click Refresh to aggregate from ChatLog.",
"headers": {
"query": "Hot Query",
"agent": "Agent",
"answer": "Suggested Answer",
"asks": "7d Asks",
"users": "Users",
"tokens": "Avg Tokens",
"dominance": "Consensus",
"actions": "Actions"
},
"filters": {
"search": "Search query or answer…",
"allAgents": "All agents"
},
"stats": {
"summary": "{count} candidate(s), {asks} asks in 7 days"
},
"rules": {
"selection": "Selection:",
"answer": "Best answer:",
"windowDays": "Last {n} days, tokens_used>0 (Dify only)",
"minCount": "At least {n} asks per normalized query",
"minUsers": "At least {n} distinct users"
},
"actions": {
"refresh": "Refresh",
"dryRun": "Preview",
"promote": "Promote to FAQ",
"dismiss": "Dismiss"
},
"msg": {
"refreshed": "Hot FAQ aggregation completed",
"dryRunDone": "Preview done: {promoted} group(s) would promote ({scanned} logs scanned)",
"promoted": "Promoted to common question FAQ",
"dismissed": "Hot candidate dismissed"
}
},
"announcement": {