|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
创建知识库输入 |
||
| knowledgeBaseName |
string |
知识库名称 |
my-knowledgebase-name |
| description |
string |
知识库描述 |
我的知识库描述 |
| provider |
string |
知识库供应商 |
bailian |
| credentialName |
string |
凭证名称 |
credentialName |
| providerSettings |
object |
知识库供应商配置 |
|
|
any |
知识库供应商配置详情 |
{ "baseUrl": "https://ragflow.example.com", "apiKey": "your-api-key", "dataset_ids": ["b2a62730759d11ef987d0242ac120004"] } |
|
| retrieveSettings |
object |
检索配置 |
|
|
any |
知识库检索配置详情 |
{ "similarity_threshold": 0.5, "vector_similarity_weight": 0.3, "cross_languages": ["English", "Chinese"] } |
|
| workspaceId |
string |
工作空间 ID |
ws-1234567890abcdef |
CreateKnowledgeBaseInput
更新时间:
复制 MD 格式
该文章对您有帮助吗?