mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 20:14:36 +00:00
feat: add embedder
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user