Commit Graph

161 Commits

Author SHA1 Message Date
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 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 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
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 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 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
begoniezhao 07ff15db85 feat: Conditionally render settings group based on graph database status 2025-11-26 09:23:33 +00:00
begoniezhao 9c3d4ec922 feat: Add warning message for disabled knowledge graph database and provide guidance on enabling it 2025-11-26 09:23:33 +00:00
begoniezhao c1f3a0df2d refactor: 将 extractConfig 字段重命名为 nodeExtractConfig 并同步更新相关引用 2025-11-26 09:23:33 +00:00
begoniezhao c419049435 feat: Add Graph Settings component for managing graph extraction configurations 2025-11-26 09:23:33 +00:00
wizardchen 64c44c9e27 refactor: Update tenant ID handling across the application 2025-11-25 16:30:54 +08:00
wizardchen 9f6f5f5773 feat: Enhance agent settings and UI components
- Updated the Input-field component to improve styling and consistency with new color scheme.
- Added model recommendation section in AgentSettings with localized content for better user guidance.
- Enhanced AgentStreamDisplay to conditionally show timeline based on event types, improving user experience.
- Updated botmsg and docInfo components for better display of web search references and document information.
- Improved fallback response handling in session management, allowing for more flexible user interactions.
- Introduced deduplication and scoring mechanisms in grep_chunks and knowledge_search tools to enhance search result relevance and diversity.
2025-11-25 13:28:21 +08:00
wizardchen 385108ce22 fix: Correct label and binding for query expansion and rewrite settings 2025-11-24 11:29:28 +08:00
wizardchen 7e9005ccf3 Merge remote-tracking branch 'github_public/main' 2025-11-24 11:28:50 +08:00
wizardchen 4a2be2b878 feat: Enhance file upload functionality with progress tracking
- Updated the `uploadKnowledgeFile` function to accept an optional progress callback, enabling real-time upload progress tracking.
- Refactored the document upload handling in the menu component to support multiple file uploads with individual progress events.
- Removed deprecated document processing state management from the KnowledgeBase view, streamlining the upload process.
- Improved user feedback during file uploads by dispatching events for upload start, progress, and completion.
2025-11-24 00:21:42 +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
begoniezhao 3e08d3d9d8 fix: resolve issues with menu component integration 2025-11-21 18:36:34 +08:00
wizardchen 1a3d36f2c1 refactor: Remove 'setAsDefault' localization and UI references 2025-11-21 15:20:43 +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 65f36c90b9 feat: Simplify select dropdown styles and improve z-index handling in manual knowledge editor
- Added `destroy-on-close` property to the manual knowledge editor dialog for better resource management.
- Streamlined popup properties for the select dropdown by removing unnecessary logging and z-index adjustments.
- Updated global styles to ensure select dropdowns display correctly above dialog elements, enhancing UI consistency.
2025-11-21 03:05:21 +08:00
wizardchen 83ea262286 feat: Enhance loading indicators and improve UI consistency across chat components
- Replaced loading GIFs with animated typing indicators for a more modern user experience.
- Updated styles for various components to ensure consistent padding, margins, and font sizes.
- Improved responsiveness and visual hierarchy in tool result displays and document information sections.
- Enhanced overall UI aesthetics with refined color schemes and layout adjustments.
2025-11-21 02:56:02 +08:00
wizardchen 9e98848d69 feat: Add statistics localization and enhance knowledge base functionality
- Introduced new localization strings for document count, FAQ entries, and chunk count in English, Russian, and Chinese.
- Updated the KnowledgeBase and KnowledgeBaseList components to display knowledge and chunk counts.
- Implemented backend functions to count knowledge items and chunks associated with each knowledge base, improving data management and user insights.
2025-11-21 01:39:43 +08:00
wizardchen c678094724 feat: Add folder upload functionality and enhance document upload experience
- Introduced a new option for users to upload entire folders, improving document management capabilities.
- Enhanced file type verification to provide better feedback for unsupported files during uploads.
- Updated UI components in the menu for clearer action items related to document uploads.
- Improved localization support for new upload messages in English, Russian, and Chinese.
2025-11-21 01:07:28 +08:00
wizardchen 21649b62c7 feat: 新增URL导入功能并优化知识库文档展示样式 2025-11-20 23:41:49 +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 0dbb853860 Merge remote-tracking branch 'github_public/main' 2025-11-20 15:49:43 +08:00
wizardchen 8d76417897 feat: Add agent readiness checks and detailed configuration messages
- Implemented a function to retrieve reasons for agent unavailability, enhancing user feedback on configuration issues.
- Updated the agent status message to include specific missing configurations, improving clarity for users.
- Enhanced localization support for new messages related to agent configuration requirements in English, Russian, and Chinese.
- Added navigation options for users to quickly access model configuration settings when the agent is not ready.
2025-11-20 15:43:46 +08:00
wizardchen 73fbc4552c feat: Enhance Input-field and UserMenu components with new model management and navigation options
- Added functionality to update conversation model configurations in Input-field.vue, including error handling and state management.
- Improved UserMenu.vue by introducing quick navigation options for agent settings, web search configuration, and MCP service.
- Updated UI elements for better user experience, including new icons and styles for dropdowns and menu items.
- Enhanced localization support for new menu items and messages.
2025-11-20 14:58:49 +08:00
wizardchen 34d842cea8 feat: Improve knowledge base loading and dropdown UI in manual knowledge editor
- Enhanced the knowledge base loading function with detailed logging for better debugging and visibility of the data flow.
- Filtered knowledge bases to include only document types, improving the relevance of displayed options.
- Updated the dropdown component to include a custom empty state message when no document-type knowledge bases are available.
- Adjusted z-index styles for dropdowns to ensure proper visibility in various UI contexts.
- Added localization strings for the new empty state message in English, Russian, and Chinese.
2025-11-20 14:24:48 +08:00
wizardchen aabc9faf74 feat: Optimize dropdown positioning and UI components for knowledge base management
- Enhanced dropdown positioning logic to dynamically adjust based on available space, ensuring better visibility and usability.
- Improved UI styles for dropdown menus and action items, including consistent padding, margins, and hover effects.
- Updated localization strings for better clarity in knowledge base actions and menu items.
- Refactored related components to streamline the user experience when interacting with knowledge base features.
2025-11-20 13:37:21 +08:00
wizardchen 3b1a859374 feat: Enhance knowledge base management with new create action and improved UI
- Added a new "Create Knowledge Base" action in the menu for easier knowledge base creation.
- Updated localization strings in English, Russian, and Chinese to include a subtitle for knowledge base management.
- Improved UI components to better display knowledge base options and actions, including a new header subtitle in the KnowledgeBaseList view.
- Refactored related components to streamline the knowledge base list and FAQ entry management.
2025-11-20 12:13:23 +08:00
wizardchen b2b97ac3a3 feat: Add quick actions for document management in knowledge base
- Introduced a new section for quick actions in the menu, allowing users to upload documents and create FAQs directly from the interface.
- Implemented file upload functionality with validation and error handling.
- Enhanced localization for new quick action strings in English, Russian, and Chinese.
- Updated the UI to improve user experience when interacting with knowledge base actions.
2025-11-20 10:33:26 +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