Commit Graph

266 Commits

Author SHA1 Message Date
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 1d2b1616c9 fix: Remove deprecated rerankModelID from web search service configuration 2025-11-20 10:44:14 +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
wizardchen 884a765f3a feat: 优化FAQ工具提示样式和知识库卡片UI设计 2025-11-20 01:25:31 +08:00
wizardchen 5965afa899 feat: 移除知识库中的重排序模型配置,改为全局会话设置 2025-11-20 01:03:19 +08:00
wizardchen b9c1191dd2 feat: Introduce query expansion feature and enhance related configurations
- Added support for query expansion in conversation settings, allowing the system to generate additional queries when recall is low.
- Updated localization files in English, Russian, and Chinese to include new strings for the query expansion feature.
- Enhanced UI in AgentSettings.vue to allow users to toggle query expansion settings.
- Refactored related API and service logic to accommodate the new query expansion functionality in session management and chat processing.
2025-11-19 20:23:30 +08:00
wizardchen 5434768530 feat: Update allowed tools localization and enhance UI in AgentSettings
- Improved localization for the allowed tools section in English, Russian, and Chinese, providing clearer descriptions and an empty state message.
- Enhanced the UI in AgentSettings.vue to display selected tools more effectively, including a new layout for better visibility and an empty state message when no tools are configured.
2025-11-19 19:35:14 +08:00
wizardchen 3bf2a14499 feat: Enhance agent configuration and localization for web search prompts
- Updated agent configuration to support separate system prompts for web search enabled and disabled states.
- Removed deprecated agent configuration parameters to streamline settings management.
- Enhanced UI components in AgentSettings.vue to allow configuration of custom prompts based on web search status.
- Improved localization in English, Russian, and Chinese for new prompt settings and UI elements.
- Refactored related API and service logic to accommodate changes in agent configuration structure.
2025-11-19 19:27:25 +08:00
wizardchen ddf6b4e748 feat: Revamp conversation configuration management and enhance localization
- Removed outdated DEVELOPMENT.md, consolidating development instructions into relevant documentation.
- Updated conversation configuration to include new parameters such as max rounds, embedding thresholds, and rewrite prompts.
- Enhanced UI components to support new conversation settings, including AgentSettings.vue and related views.
- Improved localization in English, Russian, and Chinese for new conversation configuration fields and UI elements.
- Implemented logic to apply tenant-specific conversation settings, ensuring defaults are respected.
2025-11-18 23:18:43 +08:00
wizardchen 60240ee337 fix: Improve knowledge entity ID generation and enable debug logging for batch updates
- Updated the BeforeCreate hook to only generate a UUID for Knowledge entities if the ID is not already set.
- Enabled debug logging in the UpdateKnowledgeBatch method to assist with troubleshooting during batch updates.
2025-11-18 13:17:05 +08:00
wizardchen fdf5d9d781 feat: Implement knowledge tag management and batch updates for FAQ entries
- Added API functions for listing, creating, updating, and deleting knowledge base tags.
- Introduced batch update functionality for enabling/disabling FAQ entries and updating their tags.
- Enhanced the KnowledgeBase.vue and FAQEntryManager.vue components to support tag management and batch operations.
- Updated localization files to include new strings related to tag management and batch operations.
2025-11-18 11:48:37 +08:00
wizardchen 822041d995 feat: add knowldege tags 2025-11-17 18:15:02 +08:00
wizardchen adbbeb81fc chore: Correct path for xlsx package in package.json 2025-11-17 15:40:57 +08:00
wizardchen 1f5e445eaa feat: Introduce conversation configuration management and localization updates
- Added new ConversationConfig interface and API endpoints for retrieving and updating conversation settings.
- Enhanced AgentSettings.vue to include UI for configuring conversation parameters such as prompt, context template, temperature, and max tokens.
- Updated localization files in English and Chinese to include new strings for conversation settings.
- Implemented logic to load and save conversation configuration for tenants, ensuring defaults are applied when no specific configuration exists.
2025-11-17 15:33:43 +08:00
wizardchen a886106917 chore: Update Dockerfile and package-lock.json for xlsx package management 2025-11-17 13:15:10 +08:00
wizardchen da5f71dfd3 feat: Add MinIO and graph database status handling with localization updates
- Introduced a new boolean field for MinIO status in the system info API response.
- Updated localization files in English, Russian, and Chinese to include warnings and instructions related to MinIO and graph database configurations.
- Enhanced the KBAdvancedSettings component to display alerts and disable options based on the status of MinIO and graph database.
- Implemented logic to check system status on component mount and adjust settings accordingly.
2025-11-17 11:38:02 +08:00
wizardchen 667239a625 feat: Add system information fields and localization for new engines
- Introduced new fields for keyword index engine, vector store engine, and graph database engine in the system info API response.
- Updated localization files in English, Russian, and Chinese to include labels and descriptions for the new system information fields.
- Enhanced the SystemInfo.vue component to display the new engine information in the settings view.
2025-11-16 23:46:33 +08:00
wizardchen c07fd60e8b feat: Update FAQ configuration defaults and localization for improved clarity
- Changed default FAQ configuration to use 'question_only' index mode and 'separate' question index mode for better performance.
- Updated localization strings in Chinese for consistency and clarity, including terminology adjustments for indexing methods.
2025-11-16 23:35:54 +08:00
wizardchen 7dd8861366 feat: Refine FAQ Entry Manager UI and localization for clarity and usability
- Updated the FAQ Entry Manager layout to enhance the organization of question types with distinct styling for similar and negative questions.
- Improved localization strings in Chinese for better clarity, including simplified terms for document and FAQ types.
- Enhanced search results display by adding index numbers and optimizing the layout for better user experience.
- Implemented responsive design adjustments and improved styling for better visual consistency across components.
2025-11-16 23:22:00 +08:00
wizardchen 0c37b3b605 feat: Enhance Knowledge Base List UI with type-specific styling
- Updated the KnowledgeBaseList component to apply distinct styles for document and FAQ types.
- Added background patterns for document and FAQ cards to improve visual differentiation.
- Ensured content remains accessible above background patterns for better user experience.
2025-11-16 23:09:32 +08:00
wizardchen 4f766a21c6 feat: Revamp FAQ Entry Manager and localization for improved user experience
- Updated the FAQ Entry Manager UI with a new layout, enhancing the organization of standard questions, similar questions, negative questions, and answers.
- Improved localization strings for better clarity and guidance in Chinese, including detailed descriptions for each FAQ component.
- Implemented responsive design adjustments and optimized performance for the FAQ management interface.
- Enhanced the search functionality with clearer labels and descriptions, ensuring a more intuitive user experience.
2025-11-16 22:23:59 +08:00
wizardchen 1d0b228e81 feat: Add download options for example files in FAQ Entry Manager
- Introduced a dropdown menu for downloading example files in JSON, CSV, and Excel formats.
- Updated localization files to include new strings for download options in English, Russian, and Chinese.
- Enhanced the FAQ Entry Manager UI with improved layout and styling for the file upload section.
2025-11-16 17:56:26 +08:00
wizardchen fa237a8c13 feat: Enhance document and FAQ management UI with localization updates
- Added a new document management section with titles and subtitles in English, Russian, and Chinese.
- Updated the FAQ management interface to include subtitles for better user guidance.
- Improved layout and styling for document and FAQ sections to enhance user experience.
- Ensured localization support for new UI elements across multiple languages.
2025-11-15 03:29:40 +08:00
wizardchen 546ceed32f chore: Update xlsx dependency to version 0.20.2 and change its resolution to a local tarball
- Updated the xlsx package version from 0.18.5 to 0.20.2 in both package.json and package-lock.json.
- Changed the resolution method for xlsx to use a local tarball instead of a remote source.
2025-11-15 01:40:12 +08:00
wizardchen 25fdaed8ca feat: Implement FAQ functionality in Knowledge Base
- Added support for creating and managing FAQ knowledge bases, including new API endpoints for listing, upserting, updating, and deleting FAQ entries.
- Enhanced the frontend to allow users to create FAQ knowledge bases and manage FAQ entries with a dedicated interface.
- Introduced new types and configurations for FAQ handling in the backend, ensuring proper indexing and retrieval of FAQ entries.
- Updated localization files to include new strings related to FAQ management in multiple languages.
- Refactored existing components to accommodate the new FAQ features, improving user experience and functionality.
2025-11-15 01:30:17 +08:00
wizardchen 0ea5e6a2a2 fix: Correctly process <br> tags in Markdown rendering 2025-11-14 14:50:30 +08:00
wizardchen 827276728d feat: Enhance DuckDuckGo provider with real search tests and logging 2025-11-14 14:25:10 +08:00
wizardchen 527b2d46e9 fix: Ensure safe access to tenant agent configuration in update handler 2025-11-14 12:30:11 +08:00
wizardchen 6988f3af4d refactor: Remove unnecessary agent config check in tenant update handler 2025-11-14 12:24:00 +08:00
wizardchen bb6dff80b5 feat: Add support for builtin models in the application
- Introduced `is_builtin` property in the model configuration to identify builtin models.
- Updated frontend components to display a tag for builtin models in the ModelSelector and ModelSettings.
- Enhanced the ModelEditorDialog to prevent editing and deletion of builtin models.
- Implemented logic in the backend to hide sensitive information for builtin models and restrict their modification.
- Added informative UI elements to clarify the nature of builtin models in the settings and editor views.
2025-11-14 12:09:52 +08:00
wizardchen a1fb794650 refactor: Update frontend build configuration in docker-compose and clean up router
- Changed the build context and Dockerfile path for the frontend service in docker-compose.yml for better organization.
- Removed the knowledge base settings route from the router to streamline navigation and improve code clarity.
2025-11-13 20:32:58 +08:00
wizardchen 9b7128d69d feat: Update docker-compose and Dockerfile for frontend build configuration
- Added build context and Dockerfile specification for the frontend service in docker-compose.yml.
- Refactored Dockerfile.app to ensure non-root user creation is idempotent and streamlined the ownership setup for application directories.
2025-11-13 20:16:15 +08:00
wizardchen ffd5cd2881 feat: Update Dockerfile to support customizable APK mirror
- Added APK_MIRROR_ARG to allow dynamic configuration of the Alpine package mirror.
- Updated the repository URL in the Dockerfile to use the specified APK mirror if provided.
- Enhanced runtime dependencies installation by including additional packages and updating pip before installing uvx.
2025-11-13 20:01:04 +08:00
wizardchen 59f3d22169 feat: Integrate vue-i18n for multilingual support across components
- Added vue-i18n integration to various components for dynamic text translation.
- Updated text placeholders, button labels, and error messages to utilize translation functions.
- Enhanced user experience by providing localized content in the Knowledge Base, chat components, and settings.
- Removed hardcoded strings and replaced them with translation keys for better maintainability and scalability.
2025-11-13 19:34:33 +08:00
wizardchen ae58801baf Merge remote-tracking branch 'github_public/main' 2025-11-13 14:28:41 +08:00
fuyaozong a625eff525 修复bug:脚本检查系统环境时如果操作系统是Darwin,检查内存使用情况输出为空,原因是正则表达式有问题 2025-11-13 10:30:57 +08:00
fuyaozong ef69e2aed5 将各个判断模型是否可用的逻辑和接口/api/v1/initialization/ollama/models/check的逻辑统一:对于没有指定版本的模型,默认添加":latest",避免误判导致反复调用pull模型接口 2025-11-13 10:29:47 +08:00
wizardchen 9f6b903ef2 feat: Integrate LLM-based reranking in KnowledgeSearchTool
- Added optional chat model to KnowledgeSearchTool for enhanced reranking using LLM prompt scoring.
- Updated rerankResults method to prioritize LLM-based reranking over traditional rerank model.
- Implemented new functions for LLM scoring and parsing scores from responses, improving search result relevance.
- Enhanced migration script to handle database versioning and dirty state checks more robustly.
2025-11-13 01:22:08 +08:00
wizardchen 7be09acb9e refactor: Update dropdown functionality and styling in menu component
- Changed the upload action dropdown trigger from click to hover for improved user interaction.
- Removed the popup component and integrated dropdown directly for a cleaner implementation.
- Enhanced CSS styles for the dropdown menu to improve visual presentation and user experience.
2025-11-13 00:04:55 +08:00
wizardchen b9e3099660 refactor: Update styling and functionality in manual knowledge editor and AgentStreamDisplay components
- Refined CSS styles for the manual knowledge editor, enhancing layout and visual consistency.
- Improved button interactions and hover effects for better user experience in the toolbar.
- Enhanced answer event handling in AgentStreamDisplay to support copying answers and improved content retrieval logic.
- Updated logic to display the last thinking event when an answer is empty, ensuring relevant information is presented to users.
- Streamlined button functionalities for adding to knowledge base and copying answers, improving overall usability.
2025-11-12 23:50:13 +08:00
wizardchen 6e6cdb46d5 feat: Enhance tooltip content and styling in AgentStreamDisplay component
- Added a knowledge title display in the tooltip for improved context.
- Updated the rendering logic to escape HTML attributes for safety.
- Introduced a truncation function for document names to enhance readability.
- Adjusted CSS styles for better visual presentation and user experience.
- Improved animation timing for action pending states to create a smoother interaction.
2025-11-12 23:17:36 +08:00
wizardchen 9af704b37f feat: Enhance Markdown rendering and attribute parsing in AgentStreamDisplay component
- Introduced a new function to parse HTML tag attributes, improving the handling of web and knowledge base citations.
- Updated citation rendering logic to utilize the new attribute parsing function, ensuring more robust and flexible attribute extraction.
- Enhanced the regular expressions for web and knowledge base citations to support a broader range of attribute formats, improving overall rendering accuracy.
2025-11-12 22:52:47 +08:00
wizardchen 69f3f30d83 feat: Implement manual knowledge editing and enhance knowledge base features
- Added functionality for manual knowledge entry, allowing users to create and edit Markdown content directly in the browser.
- Introduced new API endpoints for creating and updating manual knowledge entries.
- Enhanced UI components to support the new manual knowledge editor, including integration with existing knowledge base features.
- Updated knowledge retrieval logic to accommodate manual entries, ensuring seamless user experience across knowledge types.
- Improved agent configuration to support custom system prompts, enhancing flexibility in agent responses.
2025-11-12 21:27:56 +08:00
wizardchen a342a0aa14 fix: Remove redundant duration assignment in agent execution loop
- Eliminated duplicate assignment of step.Duration in the executeLoop method to streamline duration tracking.
- Ensured accurate logging of round duration without affecting overall functionality.
2025-11-12 14:27:48 +08:00
wizardchen 38beca1146 feat: Enhance event duration tracking and UI components in chat
- Added duration tracking for agent steps and tool calls, improving event data accuracy.
- Updated AgentStreamDisplay and ToolResultRenderer components to include fallback headers and improved output styling.
- Refactored duration handling in the agent engine and session management to ensure consistent duration reporting.
- Enhanced UI elements for better user experience, including scrollable output areas and improved tooltip visibility.
2025-11-12 14:27:00 +08:00