Skip to content

Knowledge Bases (RAG)

The Knowledge Base module allows administrators to upload company documents (PDFs, DOCX, TXT) to train the AI Agents using Retrieval-Augmented Generation (RAG) technology.

When attaching a document to a Knowledge Base, Flowi Agentic performs:

  1. Text Extraction: Secure reading of the original content.
  2. Chunking: Splitting the text into smaller paragraphs.
  3. Embeddings: Converting the text into mathematical vectors, saved in the database (pgvector).

Creating a Base

  1. Access the Administration > Knowledge Bases menu.
  2. Click on New Base.
  3. Define a name and a clear description for the scope of this base.

Linking to Agents

After populating the knowledge base with corporate documents, you can link it to Agents. When a user interacts with that Agent, the AI will automatically search the base before responding, ensuring that the answers are based exclusively on your company's guidelines, drastically reducing the risk of hallucinations.

Flowi Agentic — Plataforma de Gestão de Processos com IA