Commit Graph

270 Commits

Author SHA1 Message Date
wizardchen 9215c82d3b feat: 添加FAQ导入结果持久化展示功能 2026-01-14 17:09:19 +08:00
wizardchen 042d860329 feat: 使用增强的任务ID生成器替换UUID 2026-01-14 17:09:19 +08:00
wizardchen 953e0c1a55 feat: 支持租户ID和关键词同时搜索 2026-01-14 17:09:19 +08:00
wizardchen a63a2a8daf refactor: 合并 FAQ 导入和验证逻辑 2026-01-14 17:09:18 +08:00
wizardchen 100484f13d feat: 新增FAQ批量导入dry run功能 2026-01-14 17:08:49 +08:00
begoniezhao a35999466c refactor: Improve error handling and remove unused code 2026-01-14 17:08:26 +08:00
joeyczheng 4960c026d2 feat: add google provider for web search
Signed-off-by: joeyczheng <joeyczheng@tencent.com>
2026-01-14 17:08:26 +08:00
begoniezhao 26584ec508 refactor: Refactor retriever engine checks and expose mapping 2026-01-14 17:08:26 +08:00
orbisai0security 14ac60128b fix: resolve critical vulnerability V-001
Automatically generated security fix
2026-01-14 17:08:26 +08:00
begoniezhao 3fc9ce33b4 feat(knowledge): Omit DeletedAt on update operations 2026-01-14 17:08:26 +08:00
nullkey c131028b5a fix: 增加魔搭社区嵌入模型所需的EncodingFormat参数 2026-01-14 17:08:26 +08:00
nullkey 37b2899f9d feat:add several mainstream model providers 2026-01-14 17:08:26 +08:00
nullkey 4f74e141e6 feat:add model provider GPUStack 2026-01-14 17:08:26 +08:00
wizardchen d51140e033 feat: 在搜索结果中批量补充标签名称 2026-01-07 15:37:27 +08:00
wizardchen be38966cbe feat: 更新FAQ条目时返回更新后的数据 2026-01-07 11:50:57 +08:00
wizardchen b71e7084fd feat: 将未分类FAQ条目转为"未分类"标签 2026-01-07 11:08:59 +08:00
wizardchen 9af1fc18f5 feat: 支持复制知识库时指定任务ID 2026-01-05 17:04:47 +08:00
wizardchen bebeb2a643 feat: Replace模式清理未使用标签 2026-01-05 16:05:38 +08:00
begoniezhao 1b0edccfc4 feat: add download_spatial target and DuckDB spatial extension handling 2026-01-05 15:01:50 +08:00
wizardchen 20499d0d2e refactor: 统一标签列表渲染逻辑,移除重复的未分类标签处理代码 2026-01-05 10:38:14 +08:00
wizardchen 4ffda00a86 feat: 改进未分类标签的处理逻辑
将未分类标签从空字符串改为特殊标识符__untagged__,统一前后端处理逻辑
2026-01-04 20:14:56 +08:00
begoniezhao 0fc56920d3 chore: update comments and documentation for SequentialThinkingTool 2026-01-04 16:38:29 +08:00
wizardchen d72b6997cb feat: 添加智能体文件类型限制,内置数据分析师智能体 2025-12-31 18:25:58 +08:00
wizardchen 884153aeb8 feat: 增强模型选择和错误处理机制
优化模型ID传递逻辑,支持请求级别的模型覆盖;完善流式响应的错误处理
2025-12-31 15:36:20 +08:00
wizardchen 7cf5dfff6a fix: 修复标签创建重复和流式响应解析问题
修复标签创建时未检查重复名称的问题,增加冲突错误返回。
优化流式响应中对引用数据的处理,支持序列化后的数据结构解析。
2025-12-31 15:36:20 +08:00
wizardchen 72a3cbb0ba feat: 增加流式响应类型和工具调用支持
新增 LLMToolCall 和 FunctionCall 结构体支持工具调用,扩展 ResponseType 枚举添加多种响应类型,优化 StreamResponse 结构体增加会话和工具调用字段,并改进引用事件处理逻辑。
2025-12-31 15:36:20 +08:00
wizardchen c5228acbab refactor: 简化会话创建请求结构
移除会话策略和代理配置相关字段,仅保留标题和描述。会话现在作为独立的对话容器,配置由自定义代理在查询时动态提供。
2025-12-31 15:36:20 +08:00
wizardchen d954ba22af refactor: 转换 knowledgeRefs 为 References 类型 2025-12-31 15:36:20 +08:00
wizardchen 5ee5f5b4e4 refactor: 重构SSE流设置以支持标题生成选项 2025-12-31 15:36:20 +08:00
wizardchen 9beca5b688 feat: 添加Summary配置的Thinking字段 2025-12-31 15:36:20 +08:00
wizardchen b0a9952785 feat: 添加禁用自动标题生成的选项 2025-12-31 15:36:20 +08:00
wizardchen 0d020ce30c feat: 添加思考模式配置支持
在SummaryConfig结构体中新增Thinking字段,支持启用思考模式功能。更新相关配置文件、类型定义和客户端代码以支持该功能。
2025-12-31 15:36:20 +08:00
wizardchen 99eabed688 fix: 修复并行搜索中WebSearchStateService缺失问题 2025-12-30 19:44:53 +08:00
wizardchen da1dcb0cda feat: 批量更新tag时更新索引字段 2025-12-30 19:44:53 +08:00
wizardchen ac00206e77 feat: 支持FAQ两级优先级标签过滤
添加FAQ搜索支持两级优先级标签过滤功能,新增first_priority_tag_ids和second_priority_tag_ids字段,更新各检索器实现以支持按标签ID过滤,优化搜索结果排序确保优先级标签结果优先展示。
2025-12-30 19:44:53 +08:00
hylaz 9e51f85e55 feat:修改小米模型域名 2025-12-30 18:13:08 +08:00
wizardchen 89e75bb6fe feat: 优化内置智能体配置同步机制
改进内置智能体与自定义智能体的配置合并逻辑,确保内置智能体能正确应用API配置和默认值,同时优化了系统提示词的分离管理。
2025-12-30 14:35:10 +08:00
wizardchen c2c4ee5777 fix: asynq redis db 2025-12-30 14:35:10 +08:00
wizardchen 8bb98636a7 refactor: 重构桶策略解析逻辑以支持复杂策略 2025-12-30 14:35:10 +08:00
wizardchen f9593fc050 feat: 支持列出MinIO 存储桶及权限 2025-12-30 14:35:10 +08:00
wizardchen 6cf7cbcb9c feat: 添加可配置的文件上传大小限制
新增 MAX_FILE_SIZE_MB 环境变量统一控制文件上传大小,默认 50MB
2025-12-30 14:35:10 +08:00
begoniezhao 907e9a5522 feat: Add DataSchema tool for retrieving schema information from CSV and Excel files 2025-12-29 20:03:51 +08:00
JAESOL SHIN ddf5ae4e65 fix(chat): exclude ChatTemplateKwargs for OpenAI API
ChatTemplateKwargs parameter is only supported by custom backends
like vLLM. OpenAI API does not support this parameter and returns
400 Bad Request error.

This change conditionally includes ChatTemplateKwargs only when
the provider is ProviderGeneric (custom deployment).

Fixes connection test failure for OpenAI models with error:
"Unrecognized request argument supplied: chat_template_kwargs"
2025-12-29 19:08:15 +08:00
wizardchen 3905b6fe5d feat: 优化知识块分页查询功能,支持按知识类型区分搜索和排序逻辑 2025-12-29 17:18:26 +08:00
wizardchen c9a6c3134a Merge branch 'custom_agent' 2025-12-29 17:01:23 +08:00
wizardchen 6c8e261a5f feat: 支持知识库选择模式和标题生成模型配置
- 移除对rerankModel的强制检查,支持无知识库场景
- 优化知识库解析逻辑,优先处理用户明确指定的知识库
2025-12-29 14:35:13 +08:00
nullkey e9a2a7b3e5 feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
wizardchen 6bc19ab082 feat: 统一系统提示词并优化智能体选择器界面
- 将系统提示词从分离的网络搜索开/关状态合并为统一提示词,使用 {{web_search_status}} 占位符动态控制行为
- 重构智能体选择器,从简单tooltip升级为内容丰富的popup,显示智能体详细信息、类型和能力
- 新增FAQ优先策略配置,支持FAQ答案优先于普通文档
- 优化知识库选择逻辑,智能体切换时自动同步配置的知识库
- 更新相关接口类型定义和国际化文本
2025-12-28 21:46:42 +08:00
wizardchen c9e482eb79 feat: 新增MCP服务功能支持,优化智能体特性标识显示;调整内置智能体排序逻辑,确保智能体模式下自动启用多轮对话 2025-12-26 21:46:46 +08:00
wizardchen 0ca947981a refactor: 调整智能体配置,增强智能体选择与状态管理 2025-12-26 21:31:02 +08:00