Overview
When a customer sends a message, Fliqr AI searches the Knowledge Base for content chunks that are relevant to their question. Those chunks are passed to the language model alongside the system prompt and conversation history. The model then writes a response grounded in your actual content rather than its general training. This retrieval-augmented approach means the agent does not need to memorize your entire website — it finds the right sections at query time. The quality of that retrieval depends on how specific and well-organized your source content is.Prerequisites
- An AI Agent created in Fliqr AI — see AI Providers
- Source content to add: a website, PDFs, text documents, or YouTube video URLs
- A system prompt that instructs the agent to use the knowledge base — see Prompt Engineering
Supported Source Types
Add a Knowledge Source
1
Open the Knowledge Base tab
Go to AI Agents → select your agent → Knowledge Base tab.
2
Add a source
Click Add Source and choose the source type: Website URL, File Upload, Plain Text, or YouTube URL.
3
Enter the URL or upload the file
For a website, enter the root URL. Fliqr AI will discover linked pages up to the page limit. For a file, select it from your device. For plain text, paste your content directly.
4
Start training
Click Train. Fliqr AI fetches the content, splits it into chunks, and builds a vector index. Indexing time depends on content size — most sources complete within a few minutes.
5
Check indexing status
The source list shows a status badge for each entry: Indexed, Indexing, or Failed. Expand an indexed website source to see which pages were included.Review the page list and remove any low-value pages that could dilute retrieval quality.
6
Test with the Playground
Open the Playground tab and ask questions that should be answered from your knowledge base. Verify that responses cite your content — not generic information from the model’s training data.
What the Agent Actually Does with the Knowledge Base
It is worth being precise about retrieval: the agent does not read your entire knowledge base for every message. Instead, it performs a semantic search across all indexed chunks and retrieves the most relevant passages based on the user’s question. Those passages are injected into the context window before the model generates a reply. This means:- A document buried 20 pages into a PDF is just as retrievable as the first page, as long as it is semantically relevant.
- Very short chunks (a sentence or two) may not contain enough context to generate a useful answer — prefer well-structured paragraphs.
- Duplicate or contradictory content across multiple sources can cause the agent to return inconsistent answers.
The agent retrieves the most relevant chunks based on the user’s question. It does not scan the full document top-to-bottom. If users ask a question and get a generic answer instead of your specific policy, the relevant content may not be present in your sources — add it directly.
Improving Retrieval Quality
Additional practices that improve retrieval accuracy:- Use descriptive headings and clear paragraph breaks in your source content — they help the chunking algorithm create meaningful segments.
- For PDFs, ensure they are text-based rather than scanned images. Scanned PDFs without OCR will index as empty content.
- Keep each source focused on one topic area. A single 100-page document covering unrelated topics is harder to retrieve from than four focused 25-page documents.
- Re-train a source after making significant updates to the original content. Fliqr AI does not automatically re-index sources when source content changes.
What’s Next
Prompt Engineering
Write system prompts that tell the agent how to use retrieved knowledge in its answers.
Functions & Actions
Connect the agent to live external data sources for real-time information retrieval.