Commit Graph

22 Commits

Author SHA1 Message Date
mlogclub 853ae71b3d feat: add knowledge directory management for documents and FAQs
- Implemented directory validation in Create and Update knowledge document services.
- Added directory selection in document and FAQ edit dialogs with a new KnowledgeDirectoryPanel component.
- Enhanced API to support fetching, creating, updating, and deleting knowledge directories.
- Updated data models to include directory information for knowledge documents and FAQs.
- Added translations for directory-related messages in English and Chinese.
2026-06-02 15:37:50 +08:00
mlogclub c09ee0e596 refactor: replace document and FAQ chunk handling with repository methods for improved clarity and maintainability 2026-06-02 12:01:01 +08:00
mlogclub 99d5a951be refactor: improve knowledge base index removal and streamline vector handling logic 2026-06-02 11:47:35 +08:00
mlogclub c2d05863ba refactor: update knowledge base index removal method for improved clarity and efficiency 2026-06-02 11:39:24 +08:00
mlogclub 2002457492 refactor: enhance FAQ index removal logic and improve error handling in repository methods 2026-06-02 11:35:46 +08:00
mlogclub 62c55f5a47 refactor: simplify document deletion logic and remove redundant chunk handling 2026-06-02 11:33:24 +08:00
mlogclub 7a2f673a02 refactor: update document index removal methods for consistency and clarity 2026-06-02 11:29:06 +08:00
mlogclub abedafe911 refactor: streamline document and FAQ index removal methods and enhance knowledge base deletion logic 2026-06-02 11:25:30 +08:00
mlogclub 101577f163 Refactor internal services to use agent-desk package structure
- Updated import paths in multiple service files to reflect the new agent-desk module.
- Added a new configuration file for agent-desk in the Docker setup.
2026-05-31 18:43:48 +08:00
mlogclub 5d7c10aeab refactor: rename agent widget references to AI agent for consistency
- Updated runtime configuration to use __CS_AI_AGENT_WIDGET_CONFIG__ instead of __CS_AGENT_WIDGET_CONFIG__.
- Changed message types in support host bridge from "cs-agent" to "cs-ai-agent".
- Minified SDK script updated to reflect new AI agent naming conventions.
- Adjusted scrollbar styles in main.scss to use .cs-ai-agent-scrollbar instead of .cs-agent-scrollbar.
2026-05-30 21:19:36 +08:00
mlogclub 60956488e0 refactor(rag): update loadDocumentByID and loadFAQByID to return pointers and simplify error handling 2026-04-19 11:56:03 +08:00
mlogclub 3e98e9379c refactor(runtime): update function signatures to use value receivers for models 2026-04-19 11:38:05 +08:00
mlogclub c84870b968 feat: add fallback mode for AI agents and update knowledge base handling
- Introduced AIAgentFallbackMode with options for NoAnswer and SuggestRetry.
- Updated AI agent edit component to include fallback mode selection.
- Modified API types and payloads to accommodate fallback mode.
- Removed deprecated KnowledgeFallbackMode and related logic from knowledge base.
- Adjusted knowledge retrieval and response handling to utilize new fallback logic.
- Updated tests to reflect changes in fallback mode handling for AI agents.
2026-04-18 13:36:44 +08:00
mlogclub 2a5629b9f1 feat: refactor indexing logic by introducing runDocumentIndex and runFAQIndex helper methods 2026-04-13 20:10:50 +08:00
mlogclub 4cd31ce454 feat: add document and FAQ loading methods to streamline indexing logic 2026-04-13 20:03:28 +08:00
mlogclub dd965e760c feat: refactor retrieve logic to enhance trace handling and knowledge base preparation 2026-04-13 20:03:04 +08:00
mlogclub a5cf31656e feat: implement context handling methods for improved result selection and context building 2026-04-13 20:01:38 +08:00
mlogclub 5f41522597 feat: add unit tests for FAQ chunk content and model, including context normalization and graph plan reasoning 2026-04-13 18:41:29 +08:00
mlogclub 229282f558 feat: refactor document and FAQ index removal logic, introducing cleanup helper functions for improved structure and readability 2026-04-13 18:17:29 +08:00
mlogclub 227ccedee6 feat: refactor document and FAQ indexing logic, introducing helper functions for improved structure and readability 2026-04-13 18:11:47 +08:00
mlogclub 5c944a28c2 feat: refactor logging and execution plan handling, introducing RunLogService for improved structure 2026-04-13 17:27:32 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00