Syntax
api.createKnowledgeSource(params)
Description
Creates a Knowledge Source in a Knowledge Store. A Knowledge Source is a container for Knowledge Chunks to organize and manage your AI Agentsโ knowledge. Parameters:params:CreateKnowledgeSourceParamsโ configuration object for the Knowledge Source. The object contains the following parameters:
Returns:
Promise<{ knowledgeSourceId: string }> โ a promise that resolves to an object containing the ID of the created Knowledge Source.