Commit Graph

184 Commits

Author SHA1 Message Date
wizardchen c9a6c3134a Merge branch 'custom_agent' 2025-12-29 17:01:23 +08:00
nullkey e9a2a7b3e5 feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
wizardchen 6bc19ab082 feat: 统一系统提示词并优化智能体选择器界面
- 将系统提示词从分离的网络搜索开/关状态合并为统一提示词,使用 {{web_search_status}} 占位符动态控制行为
- 重构智能体选择器,从简单tooltip升级为内容丰富的popup,显示智能体详细信息、类型和能力
- 新增FAQ优先策略配置,支持FAQ答案优先于普通文档
- 优化知识库选择逻辑,智能体切换时自动同步配置的知识库
- 更新相关接口类型定义和国际化文本
2025-12-28 21:46:42 +08:00
root 0b711a6739 feat(i18n): add Korean language support
- Add ko-KR.ts locale file with full Korean translations
- Register Korean language in i18n/index.ts
- Add Korean option to Login page language selector
- Add Korean option to GeneralSettings language selector
- Update zh-CN, en-US, ru-RU locales with koKR language label
2025-12-28 14:39:26 +08:00
wizardchen c9e482eb79 feat: 新增MCP服务功能支持,优化智能体特性标识显示;调整内置智能体排序逻辑,确保智能体模式下自动启用多轮对话 2025-12-26 21:46:46 +08:00
wizardchen 0ca947981a refactor: 调整智能体配置,增强智能体选择与状态管理 2025-12-26 21:31:02 +08:00
wizardchen abfe87eaed feat: 重构提示词模板系统,新增多场景模板配置支持;优化智能体知识库选择模式,支持全部/指定/禁用三种模式 2025-12-25 18:22:36 +08:00
wizardchen d0c5c4f6b0 feat: 新增智能体功能模块,支持自定义智能体创建、配置和选择 2025-12-24 10:34:41 +08:00
wizardchen 86347d4c16 refactor: 移除bot消息组件中的mentionedItems相关代码,简化组件逻辑 2025-12-22 13:11:31 +08:00
wizardchen 1ac663fc3f feat: 优化输入框placeholder动态显示逻辑,支持基于知识库和网络搜索状态的个性化提示 2025-12-22 13:11:31 +08:00
wizardchen 58ae0d8350 feat: 支持在消息流中展示@的知识库和文件 2025-12-22 13:11:31 +08:00
wizardchen a20541cd9d feat: 新增用户对话模型选择状态管理,支持store双向绑定 2025-12-22 13:11:31 +08:00
wizardchen 8ba3be7b01 feat: 优化流式渲染机制,支持Markdown内容逐token解析显示 2025-12-22 13:11:31 +08:00
wizardchen de1ffa7f7c feat: 支持输入框内选择知识库和文件,优化选择交互体验 2025-12-22 13:11:31 +08:00
wizardchen ad450e6bce feat: 重构FAQ导入进度,改用Redis存储任务状态 2025-12-22 13:11:31 +08:00
wizardchen 7576f08ad5 fix: 模型管理中禁用ReRank模型Ollama选项并添加提示信息 2025-12-22 13:11:31 +08:00
wizardchen ad6bd157fd feat: 新增FAQ条目导出功能,支持CSV格式导出 2025-12-17 22:04:18 +08:00
wizardchen 495a306d0d feat: 修复MCP服务对话框中环境变量保存逻辑 2025-12-16 12:24:31 +08:00
wizardchen 95dfcf81cd feat: 支持聊天消息中的图片预览功能,更新Agent提示以包含图文结果输出 2025-12-16 12:24:31 +08:00
wizardchen c461a59ecd feat: 新增FAQ推荐标签和批量操作支持,优化标签删除逻辑 2025-12-12 19:57:08 +08:00
wizardchen 8eb737ae28 fix: 简化图片URL验证逻辑,直接返回true以提高兼容性 2025-12-08 19:38:16 +08:00
comqx d23863db63 chore: Update .env.example by removing unused DB_PORT variable and add highlight.js dependency in package.json and package-lock.json 2025-12-08 19:37:38 +08:00
comqx b8a6367df2 feat: Enhance document viewer with original file support and code block copying functionality 2025-12-08 19:37:38 +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 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