feat: implement knowledge search feature with enhanced configuration and UI

- Updated `config.yaml` to adjust conversation parameters for improved search performance.
- Added a new `knowledgeSemanticSearch` API function for semantic search capabilities.
- Introduced new SVG icons for search functionality.
- Created `KnowledgeSearch.vue` component for the search interface, including query input and result display.
- Enhanced menu and routing to support navigation to the new knowledge search page.
- Updated internationalization files to include translations for the knowledge search feature.

This update provides users with a powerful tool to perform semantic searches across knowledge bases, improving content discoverability.
This commit is contained in:
wizardchen
2026-03-02 15:51:11 +08:00
committed by lyingbug
parent e595e9345e
commit 612b3f2c90
13 changed files with 884 additions and 18 deletions
+4 -4
View File
@@ -7,10 +7,10 @@ server:
conversation:
max_rounds: 5
keyword_threshold: 0.3
embedding_top_k: 10
vector_threshold: 0.5
rerank_threshold: 0.5
rerank_top_k: 5
embedding_top_k: 30
vector_threshold: 0.2
rerank_threshold: 0.3
rerank_top_k: 30
fallback_strategy: "model"
fallback_response: "抱歉,我无法回答这个问题。"
fallback_prompt: |