Skip to main content

Best Practices for Accurate AI Agent Responses from a Big Knowledge Base

For large knowledge bases with multiple sections (e.g., Projects, Departments), use Project Data Fields to help the AI Agent access information faster and provide more accurate responses.

Updated over a week ago

Key Fields to Configure

Before diving into the steps, it’s important to understand two key fields that control how the AI Agent interacts with your knowledge base:

1. aiMaxKnowledgeBasesInPrompt

  • Default: 3 | Min: 1 | Max: 5

  • Determines how many knowledge bases the AI Agent uses from aiAgentDialerKnowledgeBasesList in one prompt.

2. aiAgentDialerKnowledgeBasesList

  • Format: Valid JSON

  • Lists the knowledge bases AI Agent can access, each with:

  1. name – Knowledge base name

  2. description – Short info to know when to use it

  3. knowledgeBase – Actual content

Example JSON:

[
{
"name" : "<knowledge base 1 name>",
"description": "<short description about knowledge base 1>",
"knowledgeBase": "<knowledge base 1 content>"
},
{
"name" : "<knowledge base 2 name>",
"description": "<short description about knowledge base 2>",
"knowledgeBase": "<knowledge base 2 content>"
}
]

Note:
Each knowledge base entry is limited to 4,000 characters. You can include multiple knowledge bases in the same list (for example, up to 50 entries), as long as each one does not exceed the limit, with a total of up to 200,000 characters across all entries.

Step-by-Step Guide

1. Open Your Brightcall Dashboard

• Log in to your Brightcall account.

• Navigate to the Dialer & AI Agent section.

• Click on Projects.

• Select the project where you want to configure the AI Agent's responses.

2. Navigate to the Project Settings

• In the selected project, go to Project SettingsBehavior.

• Scroll down to the section titled Show Project Data Fields.

• Click the "Add Field" button.

• From the dropdown, choose "Input" as the type.

3. Add & Configure the Fields

  • Add aiMaxKnowledgeBasesInPrompt and aiAgentDialerKnowledgeBasesList as explained above.

  • Organize knowledge bases by topic, with short, clear descriptions.

  • Then Save your settings.

4. How to Use

  • For common information, continue using your standard Knowledge Base / FAQ.

  • For project-specific or detailed information, use aiAgentDialerKnowledgeBasesList.

  • Ensure descriptions give enough context so the AI Agent knows when to use each knowledge base.

Did this answer your question?