Skip to main content

How to Train Viktor Using a Properly Structured Knowledge Base

Sofia Gorgone avatar
Written by Sofia Gorgone
Updated over 2 weeks ago

Why a Solid Knowledge Base is Crucial for Your AI Agent

A well-structured Knowledge Base (KB) is essential to ensure your AI Agent responds consistently, accurately, and in alignment with the instructions defined in the Prompt.

If the KB is incomplete, disorganized, or outdated, the Agent risks:

  • Providing vague or irrelevant answers

  • Ignoring critical instructions set in the Prompt

  • Showing behaviors inconsistent with the desired personality or policies

On the other hand, an effective KB allows your Agent to:

  • Faithfully reflect the tone, style, and rules defined in the Prompt

  • Handle complex cases with structured, easy-to-access content

  • Reduce the need for human intervention in conversations

💡 Note: The Agent’s behavior depends on the alignment between the Prompt and the Knowledge Base. Consistency between these two sources is key.


How to Add a Knowledge Base

While optional, a KB is strongly recommended to enhance Viktor’s performance.

  • Small datasets: Insert them directly into the Prompt.

  • Larger datasets: Upload them through the Manage Knowledge Base option inside the Configure section.

Note: To properly train your AI Agent, you must insert a KB either within the Prompt or as an uploaded file (depending on dataset size). The KB should always align with the Agent’s purpose.


Best Practices: Defining Information Sources

It’s important to specify which information sources the Agent should rely on.

Here’s a practical example of a small Knowledge Base you can embed directly in the Prompt:

Appointment Types

  • First visit: forty-five to sixty minutes

  • Spirometry: twenty to thirty minutes

Opening Hours

  • Monday–Friday: eight thirty AM to five thirty PM

  • Saturday: nine AM to twelve thirty PM

Policies

  • Arrival: twenty minutes early (new patients), fifteen minutes early (returning patients)

  • Cancellation/rescheduling: twenty-four hours in advance, €50 fee

Tip: For clarity, always write out numbers in words (e.g., 1000 → one thousand).


What are you waiting for? Try it yourself and build your personalized AI Agent!

Did this answer your question?