知识库

创建知识库

创建新的知识库

post/knowledge-bases

Request body

chunk_countinteger

Chunk count (not stored in database, calculated on query)

created_atstring

Creation time of the knowledge base

descriptionstring

Description of the knowledge base

embedding_model_idstring

ID of the embedding model

idstring

Unique identifier of the knowledge base

is_processingboolean

IsProcessing indicates if there is a processing import task (for FAQ type knowledge bases)

is_temporaryboolean

Whether this knowledge base is temporary (ephemeral) and should be hidden from UI

knowledge_countinteger

Knowledge count (not stored in database, calculated on query)

namestring

Name of the knowledge base

processing_countinteger

ProcessingCount indicates the number of knowledge items being processed (for document type knowledge bases)

summary_model_idstring

Summary model ID

tenant_idinteger

Tenant ID

typestring

Type of the knowledge base (document, faq, etc.)

updated_atstring

Last updated time of the knowledge base

Response

创建的知识库

object required

Changes