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:
+4
-4
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user