Commit Graph
115 Commits
Author SHA1 Message Date
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 c461a59ecd feat: 新增FAQ推荐标签和批量操作支持,优化标签删除逻辑 2025-12-12 19:57:08 +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 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 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 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 8b59b84b6e Merge remote-tracking branch 'wizard/master' 2025-11-27 10:54:08 +08:00
wizardchen 8f7a56308d refactor: Sanitize log inputs in initialization handler to enhance security 2025-11-26 22:58:42 +08:00
wizardchen a162b6e7c2 refactor: Enhance type sanitization for model creation to improve security 2025-11-26 22:30:12 +08:00
wizardchen 0425acfa10 refactor: Sanitize log inputs in message and tag handlers to enhance security 2025-11-26 22:02:33 +08:00
wizardchen 86c46c85b1 Merge remote-tracking branch 'prc/master' 2025-11-26 21:20:16 +08:00
wizardchen 544e16c4ee refactor: Sanitize log inputs in knowledge and QA handlers to enhance security 2025-11-26 20:35:19 +08:00
wizardchen 06a1c96cf2 refactor: Sanitize log inputs in FAQ, Knowledge, and KnowledgeBase handlers to enhance security 2025-11-26 19:52:07 +08:00
wizardchen d41f8afe55 feat: Add JWT_SECRET configuration to .env.example and enhance pagination validation in chunk handler 2025-11-26 17:58:31 +08:00
begoniezhao c419049435 feat: Add Graph Settings component for managing graph extraction configurations 2025-11-26 09:23:33 +00:00
wizardchen b4ae609103 refactor: Sanitize log inputs in chunk and session handlers to enhance security 2025-11-26 16:36:09 +08:00
wizardchen 0132ece3fe refactor: Sanitize log inputs in evaluation and session handlers to enhance security 2025-11-26 13:14:29 +08:00
wizardchen dde085a466 refactor: Sanitize log inputs in chunk and session handlers to enhance security 2025-11-26 12:02:04 +08:00
wizardchen b5890b3169 refactor: Enhance knowledge base and agent features in documentation 2025-11-26 11:27:48 +08:00
wizardchen 09642445de refactor: Sanitize log inputs in user, auth, knowledge, and model handlers to enhance security 2025-11-26 10:50:53 +08:00
wizardchen 8e3c2d8547 refactor: Sanitize log inputs in mcp_service, duckduckgo, auth, faq, message, and model handlers to enhance security 2025-11-26 00:57:33 +08:00
wizardchen 9fc6c949e5 refactor: Sanitize log inputs in various handlers to enhance security 2025-11-26 00:19:26 +08:00
wizardchen 016df3a4db refactor: Sanitize log inputs across various handlers to enhance security
- Implemented input sanitization for logging in chunk, evaluation, initialization, knowledge, knowledgebase, mcp_service, model, tenant, and session handlers.
- Updated logging statements to use sanitized values for sensitive information, preventing potential injection attacks.
2025-11-25 23:33:34 +08:00
wizardchen bf35a2861c refactor: Sanitize log inputs to prevent injection attacks 2025-11-25 22:19:41 +08:00
wizardchen 2f45bf7d86 refactor: Improve Elasticsearch query construction and error handling 2025-11-25 22:06:43 +08:00
wizardchen 64c44c9e27 refactor: Update tenant ID handling across the application 2025-11-25 16:30:54 +08:00
wizardchen 057cfd9eb0 feat: Enhance FAQ import functionality and UI improvements
- Added support for tracking the status of FAQ import tasks, including progress indicators for ongoing imports.
- Introduced new localization strings for processing tasks and batch operations in multiple languages.
- Updated the FAQ entry manager to display import progress and improved user feedback during the import process.
- Enhanced the KnowledgeBase component to reflect the processing state of knowledge items, improving user experience during document uploads.
- Implemented batch deletion functionality for chunks, streamlining the management of knowledge base content.
2025-11-23 17:32:50 +08:00
wizardchen e853605cea feat: Enhance FAQ management and search functionality
- Added a new menu item for searching FAQs directly from the menu, improving user accessibility.
- Implemented batch action options for selected FAQs, allowing users to perform bulk operations such as enabling, disabling, and deleting entries.
- Updated localization strings to support new features and improve user experience across multiple languages.
- Enhanced the handling of FAQ selection changes to dynamically update the UI based on user interactions.
2025-11-23 17:27:30 +08:00
wizardchen 865987ed27 refactor: Remove default model handling from model settings and service
- Eliminated the 'isDefault' field from model settings and related service logic, simplifying model management.
- Updated UI components to remove references to default models, ensuring a cleaner user experience.
- Adjusted backend model creation and update processes to reflect the removal of default model selection logic.
2025-11-21 15:18:40 +08:00
wizardchen 6687e81b96 refactor: Remove 'enabled' field from AgentConfig and related components
- Removed the 'enabled' field from the AgentConfig interface and its usage in AgentSettings and tenant handler.
- Updated related validation logic to ensure consistency without the 'enabled' parameter.
- Streamlined agent configuration handling for improved clarity and maintainability.
2025-11-21 14:28:43 +08:00
wizardchen 40a38292a6 feat: Refactor chunk extraction and knowledge processing logic
- Updated the logging message for Neo4j configuration to a warning level when not enabled.
- Removed unused environment variable checks related to graph RAG processing.
- Enhanced the chunk extraction task creation logic to respect the new extract configuration settings.
- Added an `Enabled` field to the ExtractConfig struct for better configuration management.
2025-11-21 10:35:02 +08:00
wizardchen c1f46df0dd feat: Update VLM configuration in knowledge base and API documentation
- Replaced `vlm_model_id` with a structured `vlm_config` object in knowledge base configurations, including `enabled` flag and `model_id`.
- Updated API documentation to reflect changes in VLM configuration structure.
- Enhanced frontend interfaces to accommodate new VLM configuration format.
- Improved localization for new features related to knowledge graph and multimodal capabilities.
2025-11-20 20:08:24 +08:00
wizardchen a879bbdbb5 feat: Integrate Neo4j driver into SystemHandler for enhanced graph database support
- Updated SystemHandler to include a Neo4j driver, allowing for improved interaction with graph databases.
- Modified NewSystemHandler to accept the Neo4j driver as a parameter.
- Adjusted getGraphDatabaseEngine method to return the appropriate engine name based on Neo4j driver availability.
2025-11-20 16:35:07 +08:00
wizardchen 601f73ec5f feat: Refactor agent configuration by removing deprecated parameters and enhancing conversation model management
- Removed the `thinkingModelId` and `rerankModelId` from agent configuration, streamlining the settings structure.
- Introduced a new `conversationModels` interface to manage summary and rerank model IDs.
- Updated related UI components and API logic to accommodate the changes in agent configuration.
- Enhanced localization for new conversation model settings in English, Russian, and Chinese.
2025-11-20 10:33:26 +08:00
wizardchen fe117af66e feat: Enhance temperature configuration handling in AgentSettings 2025-11-20 10:33:25 +08:00
wizardchen 5965afa899 feat: 移除知识库中的重排序模型配置,改为全局会话设置 2025-11-20 01:03:19 +08:00