Commit Graph

15 Commits

Author SHA1 Message Date
wizardchen 655df49d7d refactor: Enhance chat message handling and session management
- Updated chat message sending logic to conditionally validate knowledge base IDs based on agent mode status.
- Improved endpoint selection for chat requests, allowing for dynamic routing between agent and knowledge chat.
- Introduced a new method to select the appropriate chat model ID, prioritizing remote models for enhanced flexibility.
- Changed JSON column types for agent and context configurations in session and tenant types to jsonb for better performance.
2025-11-07 01:37:37 +08:00
wizardchen 266b9a5943 feat: Enhance chat and knowledge base functionalities with multi-KB support
- Updated agentChat API to accept optional knowledge_base_ids and agent_enabled parameters.
- Introduced getSession API to retrieve session details.
- Modified useStream to validate knowledge_base_ids for agent-chat requests and prepare POST body accordingly.
- Enhanced createKnowledgeBase API to include additional configuration options.
- Refactored chat routing to remove knowledge base ID from the chat path, allowing for dynamic knowledge base selection.
- Improved session management by preventing duplicate session entries in the menu store.
- Updated UI components for better session handling and display.
- Added context management for agent conversations to improve state persistence across sessions.
2025-11-06 21:12:26 +08:00
wizardchen 4fa3adbf3b feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
begoniezhao b6d8be634a feat: 新增异步任务提取服务 2025-10-16 17:48:21 +08:00
wizardchen 81bd2e6c2c feat: Add Login Page 2025-09-16 02:47:39 +08:00
begoniezhao 79b9315758 feat: Added knowledge base column value update method and optimized logging 2025-09-10 19:04:37 +08:00
wizardchen 4214e6782b feat: add aliyun rerank model 2025-09-10 01:22:25 +08:00
begoniezhao 27a7ed7f85 refactor: 将 StorageConfig.Value() 接收者改为值类型 2025-09-01 11:08:47 +08:00
wizardchen 8b43931886 feat: support minio storage 2025-08-14 12:16:08 +08:00
begoniezhao 705ea7a52c docs: Updated API documentation, added examples and fields, and adjusted responses and parameters. 2025-08-12 15:40:41 +08:00
wizardchen bdabed6bfa feat: Added web page for configuring model information 2025-08-10 17:11:07 +08:00
Mirza-Samad-Ahmed-Baig 789896f121 feat: Make search parameters configurable in HybridSearch 2025-08-09 21:49:14 +08:00
wizardchen 6eefe1c2a7 Fix issue with auto-generated model ID during model creation 2025-08-09 21:46:12 +08:00
begoniezhao 104a65ad23 feat: 新增多模态参数及处理逻辑,优化图片与删除操作 2025-08-08 17:19:06 +08:00
wizardchen 56eb2bce33 init commit 2025-08-05 15:08:07 +08:00