Commit Graph

194 Commits

Author SHA1 Message Date
wizardchen f7900a5e9a feat: 新增MCP stdio传输安全验证机制,防止命令注入攻击 2025-12-22 13:11:31 +08:00
wizardchen da55707022 feat: 基于PostgreSQL官方解析器重构SQL安全验证机制,增强查询防护能力 2025-12-22 13:11:31 +08:00
wizardchen de1ffa7f7c feat: 支持输入框内选择知识库和文件,优化选择交互体验 2025-12-22 13:11:31 +08:00
wizardchen 485d8d7252 fix: 修正FAQ导入任务中knowledge ID的获取 2025-12-22 13:11:31 +08:00
wizardchen ad450e6bce feat: 重构FAQ导入进度,改用Redis存储任务状态 2025-12-22 13:11:31 +08:00
wizardchen 3546888317 fix: 优化知识库复制时的标签映射逻辑和FAQ克隆功能 2025-12-17 22:04:18 +08:00
wizardchen 942689783f feat: 知识库复制时添加租户信息到上下文 2025-12-17 22:04:18 +08:00
wizardchen 3977d90181 feat: 完善知识库复制时生成问题的SourceID转换逻辑和标签映射功能 2025-12-17 22:04:18 +08:00
wizardchen b70450ddd8 feat: 支持FAQ索引类型分离,新增is_enabled字段过滤和批量更新优化 2025-12-17 22:04:18 +08:00
wizardchen 509582a4d5 feat: 知识库异步复制功能支持进度追踪和增量同步 2025-12-17 22:04:18 +08:00
wizardchen a7df6900eb feat: 完善Swagger API文档生成功能 2025-12-17 22:04:18 +08:00
wizardchen ad6bd157fd feat: 新增FAQ条目导出功能,支持CSV格式导出 2025-12-17 22:04:18 +08:00
wizardchen 36f0968df0 feat: 修复数据库迁移中AUTO_RECOVER_DIRTY环境变量判断逻辑,默认启用自动恢复 2025-12-16 12:24:31 +08:00
wizardchen 95dfcf81cd feat: 支持聊天消息中的图片预览功能,更新Agent提示以包含图文结果输出 2025-12-16 12:24:31 +08:00
wizardchen 8018bc2763 feat: 知识搜索和列表工具中的图片信息展示 2025-12-16 12:24:31 +08:00
wizardchen efe7b5d0f1 feat: 优化异步任务重试逻辑,仅在最后一次重试时更新失败状态,改进混合搜索结果融合策略 2025-12-16 12:24:31 +08:00
wizardchen 3665d35dc5 feat: 新增FAQ条目答案策略字段,支持'all'和'random'两种模式 2025-12-15 17:22:09 +08:00
wizardchen c461a59ecd feat: 新增FAQ推荐标签和批量操作支持,优化标签删除逻辑 2025-12-12 19:57:08 +08:00
majian 3cc576a493 feat(database): update database initialization to conditionally handle embeddings 2025-12-10 17:13:30 +08:00
majian 40a29c8a88 fix: 修正MINIO_USE_SSL环境变量解析逻辑 2025-12-09 14:59:08 +08:00
wizardchen 1f6bb3f841 feat: 支持Qdrant多维度向量存储和全文检索优化,添加Docker Compose配置 2025-12-08 19:38:16 +08:00
wizardchen c67a5d3949 feat: 支持数据库迁移脏状态自动恢复和Neo4j连接重试机制 2025-12-08 19:38:16 +08:00
wizardchen d23b917667 feat: Add chunk enabled status support in Qdrant repository with batch update and deletion by source ID functionality 2025-12-05 14:31:16 +08:00
wizardchen b1c79ccd4d Merge remote-tracking branch 'github_public/main' 2025-12-05 14:21:56 +08:00
begoniezhao a8143dc85a feat: Add migration scripts for users and auth_tokens tables, including up and down operations 2025-12-04 20:50:50 +08:00
begoniezhao 1aa66bfa10 fix: Adjust the positions of AutoMigrate and MigrateVersion 2025-12-04 17:47:29 +08:00
begoniezhao b24fdc2d24 feat: Add title field for creating knowledge requests. 2025-12-04 15:54:52 +08:00
wizardchen a50f53d205 feat: Implement delete functionality for generated questions in knowledge base, including API and UI updates 2025-12-04 01:26:30 +08:00
wizardchen e0d9be9405 feat: Add file type filtering to knowledge base search functionality, enhancing user experience and API capabilities 2025-12-04 00:20:22 +08:00
wizardchen bee699f5bf feat: Enhance knowledge base functionality by adding document search capability and updating related API and UI components 2025-12-04 00:13:34 +08:00
wizardchen dafb95d46a feat: Add summary status tracking for async summary generation in knowledge base 2025-12-03 20:35:55 +08:00
wizardchen f0ca9883fc feat: 优化知识库删除流程,增加状态标记防止异步任务冲突并完善状态常量定义 2025-12-03 19:43:48 +08:00
wizardchen 6b4d17ec70 feat: Implement parallel search functionality combining chunk and entity searches, enhancing retrieval efficiency and result accuracy 2025-12-03 17:45:21 +08:00
wizardchen eafa0cd80b refactor: 重构多模态配置检查逻辑,统一使用IsMultimodalEnabled方法并优化错误处理 2025-12-03 13:27:00 +08:00
wizardchen 313860bea4 feat: 增强VLM配置兼容性,支持新旧版本配置判断逻辑 2025-12-03 11:58:29 +08:00
wizardchen 541e40eb75 feat: 调整模态框层级显示并完善跨租户访问权限控制,优化数据库字段类型定义 2025-12-03 11:11:57 +08:00
wizardchen 16562eebbb feat: 添加AI问题生成功能,支持配置生成数量并在前端展示生成的问题 2025-12-03 01:42:31 +08:00
wizardchen f26cbe02e1 feat: Add synchronous creation of single FAQ entry and duplicate question detection, update API documentation and frontend handling 2025-12-02 21:14:24 +08:00
wizardchen 845d990a48 feat: Add tag management and FAQ management APIs, enhance knowledge base functionality with keyword search and custom file naming support 2025-12-02 20:39:59 +08:00
wizardchen cdf576eb18 feat: Implement cross-tenant access functionality
- Added configuration for enabling cross-tenant access in the application.
- Introduced new API endpoints for listing and searching tenants, accessible only to users with the appropriate permissions.
- Updated user and tenant models to include the `can_access_all_tenants` field.
- Enhanced the authentication middleware to handle cross-tenant requests and validate user permissions.
- Created a new TenantSelector component for selecting tenants in the frontend, improving user experience.
- Updated internationalization files to support new tenant-related strings and messages.
2025-12-02 12:17:39 +08:00
wizardchen 85b1c4bc49 refactor: Introduce searchutil package for web search result conversion and keyword score normalization
- Migrate web search result conversion logic to a new searchutil package to avoid code duplication and improve maintainability.
- Implement robust keyword score normalization using percentile bounds in the searchutil package, enhancing score handling across different contexts.
- Update relevant functions in the application to utilize the new searchutil methods, streamlining the codebase.
2025-12-01 18:27:12 +08:00
wizardchen be411affdb refactor: Rename DuckDuckGo test function for consistency and improve code readability; format error handling code for better clarity 2025-12-01 17:32:43 +08:00
wizardchen b10e262ce5 Merge remote-tracking branch 'prc/master' 2025-12-01 17:25:35 +08:00
wizardchen 93af4460d6 refactor: Remove agent_test command-line tool and associated files to streamline project structure and eliminate unused components 2025-12-01 17:24:57 +08:00
begoniezhao 15603dbac7 refactor: Clean up and organize code structure in initialization and request modules for improved maintainability 2025-12-01 14:48:33 +08:00
wizardchen eb8bfddfd1 refactor: Update function signatures across multiple files to improve readability by adding context parameters and enhancing code structure 2025-11-28 16:17:52 +08:00
wizardchen 135e33eca4 refactor: Clean up code by removing unnecessary blank lines and improving comments for better readability and maintainability 2025-11-28 16:10:37 +08:00
wizardchen a318a08ab7 refactor: Implement upload progress tracking in KnowledgeBaseList component and enhance error handling for file uploads 2025-11-28 15:32:51 +08:00
wizardchen 676ae18ef5 refactor: Update prompts in agent logic to clarify task requirements and enhance tool usage guidelines for improved understanding 2025-11-27 18:29:04 +08:00
wizardchen c222993777 refactor: Enhance AgentQARequest structure with additional fields and improve session handling methods for clarity and functionality 2025-11-27 17:56:53 +08:00