Skip to main content
The Knowledge Base element connects a pre-built Plural Knowledge Base to your conversation flow and lets your Avatar answer open-ended user questions using AI. This page covers how to use the element inside a flow. To create and populate a Knowledge Base in the first place, see Knowledge Base (setup).

Prerequisites

Before you add the Knowledge Base element to a flow, you need a Knowledge Base that is already created and populated with data sources. If you have not set one up yet, follow Knowledge Base (setup) first. You also need GOs available in your account — the element consumes GOs every time it generates a response.

Add the Knowledge Base element to your flow

1

Create a Save User Input element

Add a Save User Input element and set the Save to Attribute field to a variable name such as UserQuery. This captures the user’s question.
2

Drag the output to create a Knowledge Base element

Drag the blue output circle from the Save User Input element onto the canvas and release it. Select Knowledge Base from the context menu. Choose whether to create the element with UI (uses the predefined Knowledge Base screen design) or without UI (you build your own response display).
3

Select the Knowledge Base

Click the Knowledge Base element and, in the sidebar, select the Knowledge Base you created from the dropdown list.
4

Connect the outputs

Wire the Answer found output to the element that should display or speak the response, and the No answer output to a fallback element.

AI models and GO consumption

Plural offers two model tiers for the Knowledge Base element:
The Standard model uses GPT-3.5 Turbo and is suitable for most FAQ and information-retrieval use cases.Cost: 10 GOs per 1,000 characters of response generated.
If your account has no GOs remaining, the Knowledge Base element will not generate responses and will route through the No answer output. Keep your GO balance topped up to avoid interruptions.

Manage your data source

From inside the Knowledge Base settings, click Manage Data Source to:
  • View — click a document name to preview it.
  • Delete — click the trash icon next to a document to remove it.
  • Add — click Add New Data Source to upload additional PDFs.
After reviewing your conversation history, update your PDFs to include direct answers to the most common questions. The more specific and well-structured your source documents are, the more accurate the AI responses will be.

Multilingual automation

If you run the Knowledge Base inside a Plural Automation frame and need it to respond in the user’s current language, append ?lang=#ATTRI/LanguageISO2 to the IoT Trigger URL in the API call from your Avatar frame. This passes the current project language to the automation frame automatically.