feat: external knowledge base

This commit is contained in:
Yi
2024-09-27 00:33:56 +08:00
parent ff0260e564
commit 1c7cb3fbc0
22 changed files with 470 additions and 149 deletions

View File

@ -4,7 +4,7 @@ export type CreateKnowledgeBaseReq = {
external_knowledge_api_id: string
provider: 'external'
external_knowledge_id: string
external_retrieval_modal: {
external_retrieval_model: {
top_k: number
score_threshold: number
}