feat: external knowledge api crud frontend & connect external knowledge base

This commit is contained in:
Yi
2024-09-26 01:00:49 +08:00
parent d6c604a356
commit cfa4825073
32 changed files with 1237 additions and 138 deletions

View File

@ -0,0 +1,11 @@
export type CreateKnowledgeBaseReq = {
name: string
description?: string
external_knowledge_api_id: string
provider: 'external'
external_knowledge_id: string
external_retrieval_modal: {
top_k: number
score_threshold: number
}
}