Key features
- The Copilot: Knowledge Tile adds an Agent Copilot widget in which human agents can use a search bar to access knowledge sources and find information to answer questions from customers.
- With the Copilot: Knowledge Tile node, you can use the Search Extract Output node to retrieve context-aware information, along with additional materials such as references and videos, with source metadata and chunk metadata.
Prerequisites
- You have configured Agent Copilot.
- You have added a large language model (LLM) to your project that supports knowledge search and answer extraction.
- You have created knowledge sources.
Set up the Copilot: Knowledge tile
To set up the Copilot: Knowledge Tile, select the flow where you configured Agent Copilot in Design > Flows and add the following nodes in the flow editor:- If node — separates the Copilot: Knowledge Tile node from other Agent Copilot nodes. This separation prevents the content of other widgets from updating while the agent uses the Copilot: Knowledge Tile node.
- First Copilot: Knowledge Tile node — starts the knowledge retrieval.
- Once node — guarantees that the flow executes the Copilot: Knowledge Tile node once.
- Second Copilot: Knowledge Tile node — a duplicate of the first Copilot: Knowledge Tile node that executes the knowledge retrieval.
If node
- Click + under Start and add an If node.
- In the Condition field, enter
input.data._cognigy._agentAssist.payload.tileId === TILE_ID, whereTILE_IDis the Tile ID you created in the Agent Copilot configuration.
First Copilot: Knowledge tile node
- After the Then child node of the If node, add the first Copilot: Knowledge Tile node.
- Tile ID — enter the Tile ID you created in the Agent Copilot configuration.
- Knowledge Source — select the knowledge source from which you want to retrieve information.
Once node
- Add a Once node after the If node.
Second Copilot: Knowledge tile node
To copy the first Copilot: Knowledge Tile node and paste it after the On First Time child node, do the following:- Click the first Copilot: Knowledge Tile node and press Cmd + C or Ctrl + C.
- Click the On First Time child node and press Cmd + V or Ctrl + V.