Key Benefits
- Flexible Sources. Ingest data from databases, APIs, document libraries, Confluence, crawl websites with Diffbot, and more.
- Customizable. Modify prebuilt Knowledge Connectors or create your own from scratch.
- Centralized Management. Keep all external knowledge structured and accessible in your Flows.
Restrictions
- The knowledge is ingested by the Knowledge Connector at setup and isn’t synchronized automatically.
How to Use Knowledge Connectors
1. Set Up a Knowledge Connector
1. Set Up a Knowledge Connector
Choose how you want to set up a Knowledge Connector:Wait for the Knowledge Connector to ingest the knowledge from the external source and make it available for your AI Agents.
- Modify Existing Knowledge Connectors
- Create from Scratch
You can clone a repository and modify an existing Confluence or Diffbot Knowledge Connector. To do so, follow these steps:
- Clone the Cognigy Extensions repository from GitHub to your local machine and open it in your code editor.
- Go to the
extensions/confluence
orextensions/diffbot
folder. Modify the code as needed. Runnpm install
to install all required dependencies for the module. - Run
npx tsc
to compile the TypeScript code. This command converts TypeScript files into JavaScript in the build folder. If the build process doesn’t create a tar.gz package automatically, create one manually: - Go to Manage > Extensions in Cognigy.AI and click + Upload Extension. Select the created package and click Open.
- After the installation, go to Build > Knowledge and select the Knowledge Store where you want to use the Knowledge Connector. On the Knowledge Sources page, click + Add Knowledge.
- In the Add Knowledge window, select the modified Knowledge Connector from the Type list and fill in the required fields for the connection.
2. Use the Ingested Knowledge in your Flow
2. Use the Ingested Knowledge in your Flow
You can now use the ingested knowledge in your Flow in the following ways:
- Add a Search Extract Output Node .
- Add an AI Agent Node with Grounding Knowledge selected.
- Select a Knowledge Store when creating an AI Agent persona.
- Add a Copilot: Knowledge Tile Node to use the knowledge in the Agent Copilot dashboard for human agents.
