WeKnora/internal/agent/tools
wizardchen d127fe53fd feat: optimize hybrid search by grouping targets and reusing query embeddings
- Enhanced the concurrent search functionality to group search targets by their embedding model, allowing for a single computation of query embeddings per model.
- Implemented batch fetching of knowledge base records to improve efficiency and reduce redundant API calls.
- Updated the HybridSearch method to support multiple knowledge base IDs, enabling combined retrieval for full-KB targets and improving overall search performance.
- Added a new GetQueryEmbedding method to compute embeddings for queries, facilitating reuse across multiple knowledge bases sharing the same model.

These changes significantly enhance the performance and efficiency of the knowledge search process, reducing API calls and improving response times.
2026-03-13 20:33:47 +08:00
..
data_analysis.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
data_schema.go feat: add organization management features 2026-02-09 11:40:25 +08:00
database_query.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
definitions.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
final_answer.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
get_document_info.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
grep_chunks.go fix: update grep_chunks tool to support multiple patterns 2026-03-13 11:57:40 +08:00
knowledge_search.go feat: optimize hybrid search by grouping targets and reusing query embeddings 2026-03-13 20:33:47 +08:00
list_knowledge_chunks.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
mcp_tool.go feat: enforce maximum length for tool names in MCPTool 2026-03-05 18:14:14 +08:00
query_knowledge_graph.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
registry.go feat: enhance MCP tool name and description handling for security 2026-02-06 19:55:29 +08:00
sequentialthinking.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
skill_execute.go feat: optimize security and deployment of agent skills 2026-02-04 20:08:49 +08:00
skill_read.go feat: support agent skills 2026-02-04 20:08:49 +08:00
todo_write.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
tool.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
web_fetch.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
web_search.go feat: Add DataSchema tool for retrieving schema information from CSV and Excel files 2025-12-29 20:03:51 +08:00