Commit Graph

277 Commits

Author SHA1 Message Date
wizardchen dae772dd17 fix: 确保"未分类"标签排在最前 2026-01-14 17:18:45 +08:00
wizardchen 858d8875e8 fix: 修复切片越界导致的潜在崩溃 2026-01-14 17:18:35 +08:00
wizardchen a4b7c24504 feat: 添加 SeqID 自动递增标签 2026-01-14 17:17:14 +08:00
wizardchen 6c9d31496f feat: 添加FAQ导入成功条目详情展示 2026-01-14 17:16:53 +08:00
wizardchen 9338603c20 feat: 支持向 FAQ 条目添加相似问 2026-01-14 17:14:06 +08:00
wizardchen 14d7d3d995 feat: 为 FAQ 和标签引入 seq_id 支持 2026-01-14 17:13:44 +08:00
wizardchen 84a4ec62de refactor: 简化FAQ导入结果获取逻辑
将导入结果字段合并到FAQImportProgress结构体中,当状态为completed时自动填充。删除了独立的GetLastFAQImportResult接口和相关方法,客户端改为通过进度接口获取已完成任务的结果,并使用localStorage记录最后完成的任务ID。
2026-01-14 17:09:19 +08:00
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