feat: Enhance FAQ management and search functionality
- Added a new menu item for searching FAQs directly from the menu, improving user accessibility. - Implemented batch action options for selected FAQs, allowing users to perform bulk operations such as enabling, disabling, and deleting entries. - Updated localization strings to support new features and improve user experience across multiple languages. - Enhanced the handling of FAQ selection changes to dynamically update the UI based on user interactions.
This commit is contained in:
@@ -13,8 +13,9 @@ func AvailableToolDefinitions() []AvailableTool {
|
||||
return []AvailableTool{
|
||||
{Name: "thinking", Label: "思考", Description: "动态和反思性的问题解决思考工具"},
|
||||
{Name: "todo_write", Label: "制定计划", Description: "创建结构化的研究计划"},
|
||||
{Name: "knowledge_search", Label: "知识搜索", Description: "在知识库中搜索相关信息"},
|
||||
{Name: "list_knowledge_chunks", Label: "查看知识分块", Description: "按 knowledge_id 拉取文档分块列表"},
|
||||
{Name: "grep_chunks", Label: "关键词搜索", Description: "快速定位包含特定关键词的文档和分块"},
|
||||
{Name: "knowledge_search", Label: "语义搜索", Description: "理解问题并查找语义相关内容"},
|
||||
{Name: "list_knowledge_chunks", Label: "查看文档分块", Description: "获取文档完整分块内容"},
|
||||
{Name: "query_knowledge_graph", Label: "查询知识图谱", Description: "从知识图谱中查询关系"},
|
||||
{Name: "get_document_info", Label: "获取文档信息", Description: "查看文档元数据"},
|
||||
{Name: "database_query", Label: "查询数据库", Description: "查询数据库中的信息"},
|
||||
@@ -27,6 +28,7 @@ func DefaultAllowedTools() []string {
|
||||
"thinking",
|
||||
"todo_write",
|
||||
"knowledge_search",
|
||||
"grep_chunks",
|
||||
"list_knowledge_chunks",
|
||||
"query_knowledge_graph",
|
||||
"get_document_info",
|
||||
|
||||
Reference in New Issue
Block a user