- Updated UpdateKnowledgeTagBatch method to include an authorizedKBID parameter for restricting updates to specific knowledge items. - Implemented validation to ensure that all requested knowledge IDs belong to the authorized knowledge base. - Enhanced GetKnowledgeBatch and UpdateKnowledgeTagBatch methods to incorporate agent-specific knowledge base access restrictions. - Added utility functions to resolve allowed knowledge base IDs for agents based on their configuration. |
||
|---|---|---|
| .. | ||
| session | ||
| auth.go | ||
| chunk.go | ||
| custom_agent.go | ||
| datasource.go | ||
| evaluation.go | ||
| faq.go | ||
| im.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 | ||
| web_search_provider.go | ||