Syntax
api.createKnowledgeChunk(params)
Description
Creates a Knowledge Chunk in a Knowledge Source. A Knowledge Chunk is a discrete piece of knowledge containing text and optional Chunk metadata that can be searched and retrieved during AI Agent interactions. Parameters:params:CreateKnowledgeChunkParams— configuration object for the Knowledge Chunk. The object contains the following parameters:
Returns:
Promise<{}> — a promise that resolves to an empty object when the Knowledge Chunk is created.