Skip to main content
The Knowledge Connector API is a toolset for developers to create custom Knowledge Connectors and integrate external knowledge sources into Cognigy.AI. The toolset provides functions to create, manage, and delete Knowledge Sources and the relative Knowledge Chunks.

Use Cases

  • Document Import — import documentation from SharePoint, Confluence, or other cloud-based document repositories.
  • Database Integration — connect to databases and schedule knowledge imports.
  • API Integration — automate knowledge imports from REST APIs.

Knowledge Connector API Functions

createKnowledgeSource

Syntax: api.createKnowledgeSource(params) Creates a new Knowledge Source with the specified name, description, Source Tags, and number of Knowledge Chunks.

deleteKnowledgeSource

Syntax: api.deleteKnowledgeSource(params) Deletes a Knowledge Source.

createKnowledgeChunk

Syntax: api.createKnowledgeChunk(params) Creates a Knowledge Chunk in a Knowledge Source, containing text content and optional Chunk metadata.