begoniezhao
cb065e73fa
chore: Remove deprecated migration files. This cleanup helps streamline the migration process and maintain a cleaner codebase.
2025-12-05 12:10:17 +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
6d1ac5b96d
fix: Optimize the header start position
2025-12-04 16:21:41 +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
740974c53e
feat: Add completion status tracking and toolbar for copying and saving responses in chat component
2025-12-04 00:49:20 +08:00
wizardchen
7ca66d5c1d
feat: Update Input-field component with new SVG icon design for improved visual clarity
2025-12-04 00:32:35 +08:00
wizardchen
542d36484b
feat: Update KnowledgeBaseSelector to support FAQ type with enhanced UI and data handling
2025-12-04 00:25:28 +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
fb716edd9e
Merge remote-tracking branch 'prc/master'
2025-12-03 17:46:14 +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
begoniezhao
96fd7a390f
fix: Improve image decoding by using original format if available
2025-12-03 15:25:46 +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
6b21f93ae8
fix: 调整租户选择器样式,移除左侧外边距
2025-12-03 11:39:56 +08:00
wizardchen
46d41954bd
feat: 增强租户选择器功能,支持保存和显示选中租户名称
2025-12-03 11:39:31 +08:00
wizardchen
26267f6e79
feat: Implement cross-tenant access headers for chat and multimodal test APIs
2025-12-03 11:39:10 +08:00
wizardchen
541e40eb75
feat: 调整模态框层级显示并完善跨租户访问权限控制,优化数据库字段类型定义
2025-12-03 11:11:57 +08:00
wizardchen
86e8ee0e01
feat: 添加问题生成功能的前端支持,包括多语言展示和知识库列表标识
2025-12-03 01:58:03 +08:00
wizardchen
16562eebbb
feat: 添加AI问题生成功能,支持配置生成数量并在前端展示生成的问题
2025-12-03 01:42:31 +08:00
wizardchen
12497a2fea
feat: 重构客户端结构体,增强块、消息、会话和租户模型,并更新API文档
2025-12-02 22:47:13 +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
e66ace9c14
refactor: Remove unused SQL migration files and clean up docker-compose configurations
...
- Deleted several SQL migration files related to agent configuration, cleanup of unreferenced models, MCP services, and web search configuration.
- Updated docker-compose files to remove references to obsolete SQL migration scripts, streamlining the development environment setup.
- Improved code maintainability by eliminating unnecessary files and configurations.
2025-12-01 21:54:04 +08:00
wizardchen
8ad57a7e20
feat: Add agent configuration columns and indexes to tenants, sessions, and messages tables
2025-12-01 21:15:38 +08:00
wizardchen
927d990e2e
Merge remote-tracking branch 'prc/master'
2025-12-01 18:27:35 +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
begoniezhao
f5963276d6
Refactor code for improved readability and consistency
2025-12-01 18:15:39 +08:00
begoniezhao
5d6729fc0c
refactor: Introduce create_chunking_config function for better readability and maintainability
2025-12-01 18:07:43 +08:00
begoniezhao
3e31fdeefd
style: add necessary comments to improve code quality
...
- Add docstrings and inline comments for key functions and complex logic
- Unify comment style, eliminate magic numbers and ambiguous variable names
- No functional changes, only improve maintainability
2025-12-01 17:43:26 +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
wizardchen
60241a2d29
refactor: Improve error handling and user feedback in file upload process for enhanced reliability and user experience
2025-12-01 16:48:04 +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
2e3a1fb9db
chore: Add JWT_SECRET environment variable to docker-compose for enhanced security configuration
2025-11-27 18:29:19 +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
wizardchen
0550d3669a
refactor: Remove unused cleanupFAQKnowledge function and optimize log sanitization in security utility
2025-11-27 15:15:36 +08:00
wizardchen
1bd207ecb1
refactor: Revise ProgressiveRAGSystemPrompt templates and enhance GrepChunks and KnowledgeSearch tool descriptions for clarity and precision
2025-11-27 14:19:57 +08:00
wizardchen
92f28ca205
refactor: Rename Title field to KnowledgeTitle and update JSON/GORM tags for clarity
2025-11-27 11:46:06 +08:00
wizardchen
8b59b84b6e
Merge remote-tracking branch 'wizard/master'
2025-11-27 10:54:08 +08:00