feat: add embedder

This commit is contained in:
WangCham
2025-07-13 23:04:03 +08:00
parent 234b61e2f8
commit b7c57104c4
6 changed files with 43 additions and 63 deletions

View File

@@ -27,6 +27,7 @@ class KnowledgeBaseRouterGroup(group.RouterGroup):
json_data.get('name'),
json_data.get('description'),
json_data.get('embedding_model_uuid'),
json_data.get('top_k',5),
)
return self.success(data={'uuid': knowledge_base_uuid})