Knowledge AI

Smarter, Brand-Safe Answers with Generative AI

Looking to build an intelligent Virtual Assistant powered by your own knowledge base?

Knowledge AI is a powerful feature within AI Studio that allows your Virtual Assistant (VA) to generate intelligent, accurate answers using your content. Rather than relying on predefined intentsarrow-up-right and entitiesarrow-up-right, Knowledge AI enables direct use of uploaded materials, known as Sources, to respond contextually to user questions.

Used in conjunction with the Q&A Nodearrow-up-right, Knowledge AI taps into a streamlined system built on RAG (Retrieval-Augmented Generation), combining semantic search with Google Gemini’s large language models (LLMs)arrow-up-right to generate relevant responses.

Here’s how the system works:

  • Sources: These are the files, URLs, or public cloud documents you upload. They provide the foundational knowledge your assistant draws from.

  • Indexes: Logical groupings of Sources that organize data for specific types of user queries.

  • The Q&A Node: Used within your VA flow to access a chosen Index and return the right answer at the right time.

  • RAG (Retrieval-Augmented Generation): The backend engine that searches through your Index and generates a response via the LLM.

  • Index Testing: A built-in validation tool to simulate user input and check how well the Index responds before going live.

The combination of these elements creates a flexible and scalable framework that enables dynamic, rich conversations powered by your content. This architecture supports high-quality conversational AI without the need for manual intent training or scripting flows for each query.


How to get started

This guide provides step-by-step instructions to create, and optimize Virtual Agents using the Knowledge AI feature.

1

Optimize your Sources

The quality of Knowledge AI responses depends directly on the quality of your indexed content. Well-structured, relevant sources improve accuracy, speed, and reliability.

To optimize your documents before uploading, follow these best practices:

1. Clean and Organize Content

  • Remove navigation bars, headers, timestamps, and feedback forms.

  • Use clear headings and subheadings for structure.

  • Keep numbered lists in proper order.

2. Make Content Easy to Read

  • Add transitions between list items (“After completing step 2, do…”).

  • Avoid tables. Convert them into flat-level syntax (simple sentences or lists) to help the AI process information linearly.

  • Replace images with descriptive text.

3. Improve Semantic Quality

  • Add short summaries below each section heading.

  • Add session starters for common questions (“If you want to order software, follow the steps below…”).

  • Reduce ambiguity by replacing pronouns with specific nouns.

  • Define abbreviations and internal terms to provide context.

4. Structure for Performance

  • Break long documents into smaller, focused files.

  • Use clear, specific titles for each document.

  • Ensure related content is properly tagged and indexed.

2

Upload Your Sources

To begin, log in to AI Studio and head to the Knowledge AI tab at the top of the page.

What Can You Upload?

circle-exclamation

File Size Limits

  • PDF: 10MB max

  • HTML/TXT: 5MB max

  • URL text content: 5MB max

Once uploaded, all text (except table content or image-embedded text) is indexed and used as part of the knowledge base.

triangle-exclamation

Need to Update Content?

Access & Structure

  • Sources are uploaded per API key.

  • Indexes are created by grouping Sources.

  • Indexes are accessible to VAs using the same API key.

circle-exclamation

3

Group Your Sources to Create Indexes

An Index is a collection of Sources that your VA can use to generate responses in a specific context.

Example Use Cases

  • Multiple documents for troubleshooting CPU Model A? Group them under one Index.

  • Only one Source for a product guide? Still requires an Index to be used by the Q&A node.

circle-check

Pro Tip

Once created, you can assign the Index in a Q&A node to determine what content your VA will draw from.

circle-exclamation
circle-check

Pro Tip

circle-info

Duplicating an Index

  1. Go to the Index tab.

  2. Click the three dots beside the Index name.

  3. Select the Duplicate icon.

  4. Your duplicate appears as a new row, ready for reuse.

💡 This helps streamline workflows without manually rebuilding each configuration.

4

Test Your Indexes

The Index Testing tool allows you to validate whether your knowledge base responds accurately to real-world user input.

  • Enter a user query.

  • Get a response based on the selected Index.

  • See which Source was used for the answer.

circle-check

Pro Tip

Optimize as You Go

  • Modify Sources or reorganize Indexes based on test results.

  • Testing helps surface gaps and identify whether your content aligns with expected questions.

circle-exclamation
triangle-exclamation

5

Set Up Your Q&A Node

Once your Sources and Indexes are tested, you’re ready to integrate them into your VA using the Q&A node!

➡️ Continue to Step 4: Configure Q&A Nodearrow-up-right


🔍 Related Links

Last updated

Was this helpful?