CreateKnowledgeBaseInput

Updated at:
Copy as MD

Parameter

Type

Description

Example

object

The input for creating a knowledge base.

knowledgeBaseName

string

The name of the knowledge base.

my-knowledgebase-name

description

string

The description of the knowledge base.

My knowledge base description

provider

string

The provider of the knowledge base.

bailian

credentialName

string

The name of the credential.

credentialName

providerSettings

object

The configuration of the knowledge base provider.

any

The details of the knowledge base provider configuration.

{ "baseUrl": "https://ragflow.example.com", "apiKey": "your-api-key", "dataset_ids": ["b2a62730759d11ef987d0242ac120004"] }

retrieveSettings

object

The retrieval configuration.

any

The details of the knowledge base retrieval configuration.

{ "similarity_threshold": 0.5, "vector_similarity_weight": 0.3, "cross_languages": ["English", "Chinese"] }

workspaceId

string

The ID of the workspace.

ws-1234567890abcdef