- Added GetCollection endpoint to retrieve collections by ID, including error handling for missing IDs and uninitialized knowledge base. - Updated CreateCollectionConfig to use more descriptive field names for embedding provider and option IDs. - Refactored UpdateSegments function to improve validation and error handling, ensuring document IDs and segment texts are properly checked. - Introduced new request structures for updating votes, scores, and weights for segments, enhancing the API's capabilities. - Removed the outdated vote handling file to streamline the codebase. |
||
|---|---|---|
| .. | ||
| kb | ||
| assistant.mod.yao | ||
| attachment.mod.yao | ||
| audit.mod.yao | ||
| chat.mod.yao | ||
| config.mod.yao | ||
| dsl.mod.yao | ||
| history.mod.yao | ||
| user.mod.yao | ||
| user_oauth_account.mod.yao | ||
| user_role.mod.yao | ||
| user_type.mod.yao | ||