Commit Graph

495 Commits

Author SHA1 Message Date
wizardchen 2d3e01ec80 docs: relase 0.2.6 2025-12-29 17:36:26 +08:00
wizardchen 3905b6fe5d feat: 优化知识块分页查询功能,支持按知识类型区分搜索和排序逻辑 2025-12-29 17:18:26 +08:00
wizardchen c9a6c3134a Merge branch 'custom_agent' 2025-12-29 17:01:23 +08:00
wizardchen 6c8e261a5f feat: 支持知识库选择模式和标题生成模型配置
- 移除对rerankModel的强制检查,支持无知识库场景
- 优化知识库解析逻辑,优先处理用户明确指定的知识库
2025-12-29 14:35:13 +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
임희호 d6f94cd7ec feat(helm): 添加Neo4j模板支持GraphRAG功能
- 新增neo4j.yaml部署和服务模板
- 在app.yaml中添加Neo4j环境变量
- 在pvc.yaml中添加Neo4j持久卷
- 在secrets.yaml中添加Neo4j认证信息
- 在_helpers.tpl中添加Neo4j镜像助手
- 在NOTES.txt中添加GraphRAG说明
- 在values.yaml中添加Neo4j配置
- 简化.helmignore以修复Helm否定模式错误 (helm/helm#8688)

Fixes #483

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 11:36:47 +08:00
wizardchen 10f8830c01 feat: 优化知识库删除流程,引入异步任务处理重操作;新增ProcessKBDelete方法实现后台清理 2025-12-25 22:07:42 +08:00
wizardchen be1ec4de5d refactor: 移除安全校验和长度限制,简化输入处理逻辑 2025-12-25 22:07:42 +08:00
wizardchen 0e5370c7c4 fix: 修复标签ID处理逻辑,正确处理空字符串与UntaggedTagID的判断条件 2025-12-25 22:07:42 +08:00
wizardchen a025ebe7fb feat: 优化标签ID处理逻辑,新增批量更新TagID功能 2025-12-25 22:07:42 +08:00
wizardchen 4c0846f9c7 feat: 增强标签删除功能,支持排除指定ID;新增异步索引删除任务优化删除流程 2025-12-25 22:07:42 +08:00
wizardchen 87ead9dec4 feat: 新增FAQ条目批量更新排除功能,支持在ByTag操作中排除指定ID列表 2025-12-25 22:07:42 +08:00
wizardchen 557081c8f8 fix: 修复不同数据库类型的JSON查询兼容性问题,支持MySQL和PostgreSQL的差异处理 2025-12-25 22:07:42 +08:00
wizardchen abfe87eaed feat: 重构提示词模板系统,新增多场景模板配置支持;优化智能体知识库选择模式,支持全部/指定/禁用三种模式 2025-12-25 18:22:36 +08:00
wizardchen 5e16af8cf9 docs: 更新API文档链接至新路径;新增知识搜索API文档;增强FAQ和标签删除接口说明;移除Swagger文档中的硬编码主机配置 2025-12-24 20:47:08 +08:00
wizardchen 762a906a1b feat: 增强FAQ列表搜索功能,支持按指定字段(标准问题/相似问法/答案/全部)进行搜索 2025-12-24 20:47:08 +08:00
wizardchen 1c1033101d feat: 增强FAQ搜索功能,支持指定搜索字段(标准问题/相似问法/答案) 2025-12-24 20:47:08 +08:00
wizardchen 423cb3a2a3 feat: 增强知识库搜索功能,支持多知识库和指定文件ID搜索;优化SearchKnowledgeRequest结构,向后兼容单知识库ID参数 2025-12-24 20:47:08 +08:00
wizardchen ec9d6ee961 fix: 修复GORM批量插入时零值字段被忽略的问题,确保IsEnabled和Flags字段正确插入 2025-12-24 20:47:08 +08:00
wizardchen 8430b9fa2d feat: 新增FAQ列表排序功能,支持按更新时间升序/降序排列;优化标签名称批量查询,提升查询效率 2025-12-24 20:47:08 +08:00
wizardchen c11b3e5b00 feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容 2025-12-24 20:47:08 +08:00
wizardchen dc1ab5b81d Merge branch 'master' into custom_agent 2025-12-24 15:53:04 +08:00
wizardchen 67b4db091c docs: 更新API文档链接至新路径;新增知识搜索API文档;增强FAQ和标签删除接口说明;移除Swagger文档中的硬编码主机配置 2025-12-24 15:46:16 +08:00
wizardchen f23482c760 feat: 增强FAQ列表搜索功能,支持按指定字段(标准问题/相似问法/答案/全部)进行搜索 2025-12-24 15:46:16 +08:00
wizardchen 0bbd1450cc feat: 增强FAQ搜索功能,支持指定搜索字段(标准问题/相似问法/答案) 2025-12-24 15:46:16 +08:00
wizardchen e45b82e9be feat: 增强知识库搜索功能,支持多知识库和指定文件ID搜索;优化SearchKnowledgeRequest结构,向后兼容单知识库ID参数 2025-12-24 15:46:16 +08:00
wizardchen aa81662872 fix: 修复GORM批量插入时零值字段被忽略的问题,确保IsEnabled和Flags字段正确插入 2025-12-24 15:46:16 +08:00
wizardchen b2eec004c9 feat: 新增FAQ列表排序功能,支持按更新时间升序/降序排列;优化标签名称批量查询,提升查询效率 2025-12-24 15:46:16 +08:00
wizardchen 529b31da23 feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容 2025-12-24 15:46:16 +08:00
임희호 4159c9d3a5 fix: Use versioned image tag and remove capabilities drop
- Chart.yaml: appVersion "0.2.5" -> "v0.2.5" (match Docker Hub tag format)
- values.yaml: app.image.tag "" (use appVersion) instead of "latest"
- values.yaml: Remove capabilities drop (nginx requires CAP_CHOWN)

Verified all pods running successfully on local k3s cluster.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 15:29:29 +08:00
임희호 f82a0f360c fix: Disable runAsNonRoot for official images compatibility
Official Docker images (nginx, postgres, redis, paradedb) run as root
by default. Disabled runAsNonRoot and readOnlyRootFilesystem to ensure
compatibility.

Changes:
- global.podSecurityContext: removed runAsNonRoot
- global.containerSecurityContext: removed runAsNonRoot, readOnlyRootFilesystem
- Component securityContext: commented out incompatible settings
- app.image.tag: changed from "" to "latest" (versioned tags not available)

Tested on local Kubernetes cluster (k3s) with all pods running successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 15:29:29 +08:00
임희호 451f543e6d feat: Add Helm chart for Kubernetes deployment
Add comprehensive Helm chart for deploying WeKnora to Kubernetes clusters.

Features:
- Core services: app, frontend, docreader, postgresql, redis
- Optional services: MinIO, Neo4j, Qdrant, Jaeger (matching docker-compose profiles)
- CNCF security best practices (SecurityContext, ServiceAccount, non-root)
- Comprehensive documentation (README.md, NOTES.txt)
- Required secrets validation (no default passwords)

References:
- https://helm.sh/docs/chart_best_practices/
- https://github.com/argoproj/argo-helm
- https://github.com/prometheus-community/helm-charts
- https://github.com/cert-manager/cert-manager

Fixes #478

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 15:29:29 +08:00
wizardchen d0c5c4f6b0 feat: 新增智能体功能模块,支持自定义智能体创建、配置和选择 2025-12-24 10:34:41 +08:00
wizardchen 236b190b26 feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容 2025-12-23 11:25:39 +08:00
wizardchen 2784207de6 chore: release v0.2.5 2025-12-22 15:20:57 +08:00
wizardchen a36bf67166 feat: 新增环境变量DISABLE_REGISTRATION控制用户注册开关 2025-12-22 15:01:09 +08:00
wizardchen d6c3636b20 refactor: 调整默认生产环境配置,禁用非生产环境下的Swagger文档访问 2025-12-22 15:01:09 +08:00
wizardchen ac21f81dda feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +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 3c83cf9873 feat: 增强知识库和搜索功能的逻辑 2025-12-22 13:11:31 +08:00
wizardchen f7900a5e9a feat: 新增MCP stdio传输安全验证机制,防止命令注入攻击 2025-12-22 13:11:31 +08:00
wizardchen a20541cd9d feat: 新增用户对话模型选择状态管理,支持store双向绑定 2025-12-22 13:11:31 +08:00
wizardchen da55707022 feat: 基于PostgreSQL官方解析器重构SQL安全验证机制,增强查询防护能力 2025-12-22 13:11:31 +08:00
wizardchen 8ba3be7b01 feat: 优化流式渲染机制,支持Markdown内容逐token解析显示 2025-12-22 13:11:31 +08:00