WeKnora/internal/types
wizardchen dbab7b0405 feat: introduce storage provider configuration and enhance backward compatibility
- Added a new `StorageProviderConfig` struct to the `KnowledgeBase` for improved storage provider management, separating provider selection from storage credentials.
- Updated the `UnmarshalJSON` method to auto-populate `StorageProviderConfig` from the legacy `StorageConfig` for backward compatibility.
- Refactored various service methods to utilize the new storage provider configuration, ensuring a smooth transition from the legacy system.
- Implemented database migrations to add the `storage_provider_config` column and migrate existing data, maintaining compatibility with historical knowledge bases.

This update enhances the clarity and flexibility of storage configurations while ensuring compatibility with existing data structures.
2026-03-02 21:21:49 +08:00
..
interfaces feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
agent.go fix(swagger): resolve interface documentation generation error and regenerate docs 2026-02-27 09:52:07 +08:00
chat.go feat: Enhance chat message handling and agent completion events 2025-11-08 00:58:26 +08:00
chat_manage.go feat: implement preview of user level memory graph 2026-02-25 14:29:54 +08:00
chunk.go feat: 添加 SeqID 自动递增标签 2026-01-14 17:17:14 +08:00
cleanup.go init commit 2025-08-05 15:08:07 +08:00
const.go feat(input-field): enhance knowledge base selection and UI components 2026-02-09 11:40:25 +08:00
context_helpers.go feat: enhance document loading and state management in doc-content component 2026-03-02 21:21:49 +08:00
custom_agent.go fix(swagger): resolve interface documentation generation error and regenerate docs 2026-02-27 09:52:07 +08:00
dataset.go init commit 2025-08-05 15:08:07 +08:00
docparser.go feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
embedding.go perf: 优化FAQ索引更新和删除性能 2026-01-14 17:30:04 +08:00
errors.go init commit 2025-08-05 15:08:07 +08:00
evaluation.go refactor: Update tenant ID handling across the application 2025-11-25 16:30:54 +08:00
event_bus.go refactor: Implement event-driven streaming and enhance session management 2025-11-07 22:41:41 +08:00
extract_graph.go feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
faq.go feat: add matched question field to FAQ search results 2026-01-26 16:32:18 +08:00
graph.go feat: implement preview of user level memory graph 2026-02-25 14:29:54 +08:00
json.go init commit 2025-08-05 15:08:07 +08:00
knowledge.go feat: add organization management features 2026-02-09 11:40:25 +08:00
knowledgebase.go feat: introduce storage provider configuration and enhance backward compatibility 2026-03-02 21:21:49 +08:00
mcp.go feat: Add DataSchema tool for retrieving schema information from CSV and Excel files 2025-12-29 20:03:51 +08:00
memory.go feat: implement preview of user level memory graph 2026-02-25 14:29:54 +08:00
message.go feat: 支持在消息流中展示@的知识库和文件 2025-12-22 13:11:31 +08:00
model.go feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
organization.go feat(api): integrate per-organization resource counts into organization listing 2026-02-09 11:40:25 +08:00
placeholder.go refactor: 调整智能体配置,增强智能体选择与状态管理 2025-12-26 21:31:02 +08:00
retriever.go feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
search.go feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
session.go feat: 添加思考模式配置支持 2025-12-31 15:36:20 +08:00
tag.go perf: batch tag reference counting 2026-01-20 18:19:44 +08:00
tenant.go feat: enhance storage engine configuration and UI updates 2026-03-02 21:21:49 +08:00
user.go feat: Implement cross-tenant access functionality 2025-12-02 12:17:39 +08:00
web_search.go feat: Update web search providers and enhance knowledge base management 2025-11-10 22:45:27 +08:00