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 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.