Skip to content
DhvaneeDocs
Dashboard
On this page

Knowledge base

Give your agents web pages, files and text to answer from during calls.

A knowledge base is a collection of information your agent can look up while it talks: your FAQs, price lists, policies or your website. When a caller asks a question, the agent finds the relevant part and answers from it instead of guessing. Only owners and admins can manage the knowledge base.

Create a knowledge base

  1. 1

    Open Knowledge Base

    Choose Knowledge Base in the sidebar, then Create. The Add Knowledge Base window opens.

  2. 2

    Name it and pick its language

    Enter a Knowledge Base name (up to 256 characters) and choose the Language. Agents that speak this language search its pages first.

  3. 3

    Add content

    Under Documents, choose + Add and pick a source (see below).

  4. 4

    Save

    Choose Create. The content is indexed straight away; an Indexing tag shows until it is ready to use.

The Add Knowledge Base window with the Add menu open

Ways to add content

SourceHow it works
Add WebpagesEnter a web address and choose Save. Dhvanee reads the site and lists the pages it found in Select Site Maps. Tick the pages you want (all are ticked at first); each one becomes its own document.
Upload filesUpload a .pdf, .txt or .md file up to 5 MB. The name is filled in from the file name.
Add TextType or paste text with a File Name and Text Content, then Save.
Choosing pages to import in Select Site Maps

Limits

ItemLimit
File size5 MB
File types.pdf, .txt and .md
Text in one document100,000 characters. Text from a file is cut to fit; longer typed text is refused.
Web pagesUp to 200 pages listed per site. Each page is cut to 60,000 characters.
A scanned PDF with no selectable text cannot be read. You will see Could not extract text from this PDF. Paste the text with Add Text instead.

Manage your knowledge bases

  • Each knowledge base is a card showing its name, file count and last update. Expand it to see its files; Download file saves the text that was taken from a file.
  • Use Search... to find content by title, file name or text.
  • ⋯ then Edit changes the name and language. To change the content, delete it and add it again.
  • ⋯ then Delete removes it from the whole workspace, for every agent that used it.
Knowledge base cards with one expanded

Use it in an agent

A knowledge base is used by an agent only after you attach it.

  1. 1

    Open the agent

    In Voice agents, open the agent and expand Knowledge Base & Memory in Global Settings.

  2. 2

    Attach

    Choose + Add and pick a knowledge base from the list. If you have none yet, Add New knowledge Base takes you to create one; come back and attach it afterwards.

  3. 3

    Remove

    Use the bin icon next to an attached knowledge base.

Attaching a knowledge base to an agent

Advanced settings

SettingRangeWhat it does
Chunks to retrieve1 to 10 (default 6)How many pieces of text the agent reads for each question. More gives fuller answers; fewer keeps replies quick.
Similarity Threshold0 to 1 (default 0.60)How closely a piece must match the question to be used. Raise it if answers drift off topic.
Knowledge Base InstructionPlain textTells the agent what to focus on when it looks things up.

In a conversational flow you can also give a single step its own knowledge base.

Frequently asked questions

Why does my agent not use a new document?
Check that it no longer shows Indexing, and that its knowledge base is attached to that agent.
Do I need to publish the agent after attaching?
Attaching takes effect for new calls straight away.
Can I edit the text of a document?
No. Delete it and add the new version.
Which languages can a knowledge base be in?
Any language your agents can speak.
Knowledge base · Dhvanee Docs