- 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. |
||
|---|---|---|
| .. | ||
| session | ||
| auth.go | ||
| chunk.go | ||
| custom_agent.go | ||
| evaluation.go | ||
| faq.go | ||
| initialization.go | ||
| knowledge.go | ||
| knowledgebase.go | ||
| mcp_service.go | ||
| message.go | ||
| model.go | ||
| organization.go | ||
| skill_handler.go | ||
| system.go | ||
| tag.go | ||
| tenant.go | ||
| web_search.go | ||