Skip to main content
Training is the agent’s knowledge base. While the prompt defines behavior, training provides the content — policies, catalogs, manuals, FAQs, and any information the agent needs to respond accurately.

Overview

Access the Training tab in the agent settings. You can add knowledge from five different sources, and they coexist in the same base.
Agent training screen

How RAG works

Timely.ai uses Retrieval-Augmented Generation (RAG) to inject relevant knowledge into each execution:
  1. All added content is divided into chunks (excerpts) and transformed into embedding vectors.
  2. When the customer sends a message, the system searches for the chunks semantically closest to the question.
  3. The retrieved chunks are injected into the model’s context alongside the prompt and conversation history.
  4. The model generates the response based on this enriched context.
Only the most relevant excerpts are injected — not the entire document. This saves tokens and keeps the context focused.

Training types

Upload files directly to the platform. Supported formats:
  • PDF (manuals, contracts, catalogs)
  • DOCX (Word documents)
  • TXT (plain text)
  • CSV (data tables)
1

Go to the Documents tab

In the training section, click Documents and then Add document.
2

Upload the file

Drag the file or use the file selector. Large files may take a few seconds to process.
3

Wait for processing

The system extracts the text, divides it into chunks, and generates the embeddings. The status changes to Processed when complete.
Documents with many images and little text (e.g., presentations with visual slides) have reduced extraction quality. Prefer exporting to PDF with selectable text.

Knowledge base viewer

In the Training tab, you can open the Knowledge Base Viewer to:
  • List all indexed chunks and their metadata
  • Test semantic search — simulate a question and see which chunks would be retrieved
  • Identify duplicate or outdated content for removal

Token limits

The volume of content that can be stored and processed per execution has limits depending on the plan:
PlanTotal storageChunks injected per execution
Starter5 MB of processed textUp to 5 chunks
Pro50 MB of processed textUp to 10 chunks
EnterpriseUnlimitedUp to 20 chunks
Adding more content does not guarantee better responses. The system injects only the most relevant chunks — the quality of content organization and writing is more important than volume.

Best practices

  • Keep each document focused on a single topic. Overly extensive and generic documents reduce retrieval accuracy.
  • Update training whenever policies or products change. Outdated content causes incorrect responses.
  • Prefer Q&A for critical questions where the answer needs to be exact and consistent.
  • Use the Knowledge Base Viewer to test the search before publishing the agent.

Next steps

Connect tools

Add tools for the agent to act beyond responding — scheduling, creating records, sending emails.

Test the agent

Use the Playground and semantic search to validate the knowledge base.