feat: Introduce query expansion feature and enhance related configurations
- Added support for query expansion in conversation settings, allowing the system to generate additional queries when recall is low. - Updated localization files in English, Russian, and Chinese to include new strings for the query expansion feature. - Enhanced UI in AgentSettings.vue to allow users to toggle query expansion settings. - Refactored related API and service logic to accommodate the new query expansion functionality in session management and chat processing.
This commit is contained in:
@@ -37,6 +37,7 @@ conversation:
|
||||
## 用户当前的问题是:
|
||||
{{.Query}}
|
||||
enable_rewrite: true
|
||||
enable_query_expansion: true
|
||||
enable_rerank: true
|
||||
rewrite_prompt_system: |
|
||||
你是一个专注于指代消解和省略补全的智能助手,你的任务是根据历史对话上下文,清晰识别用户问题中的代词并替换为明确的主语,同时补全省略的关键信息。
|
||||
|
||||
Reference in New Issue
Block a user