KarexiaDocumentation Français
In this view

AI & team

RAG knowledge base: index your documents and get grounded answers

Attach documents (files or web pages) to a content plan, let the platform extract and index them, test semantic search, then let generation and the copilot rely on that corpus for factual copy.

Summary

Trigger
Your AI copy invents details about your offer or prices and you want a source of truth.
Duration
15 to 30 minutes

Who does what, step by step

RAG knowledge base: index your documents and get grounded answersWho does what, step by step: SME marketing team, Editor / publisher, System, AISME marketing teamEditor / publisherSystemAI12345678
Plain circle: normal step · bold outline: step with a guardrail (approval, consent or confirmation).

Steps

  1. 1

    Have a content plan SME marketing team

    RAG documents attach to a content plan. If AI > RAG Documents shows « No content plan », first create a plan from the Calendar (or /planning/generate), then come back.

  2. 2

    Pick the content plan Editor / publisher

    Open AI & Automation > RAG Documents. In the « Content plan » picker choose the plan; the « Plans / Documents / Indexed / Search results » tiles update.

  3. 3

    Drop a document Editor / publisher

    Click « + Drop a document » (PDF, DOCX, DOC, TXT, MD, RTF, 50 MB max). Indexing is metered by size (rag_index_embed, usually a fraction of a credit); a minimum balance of 5 credits is required. Toast « Document sent — indexing in progress. » then a status badge on the row.

  4. 4

    Add a web page by URL Editor / publisher

    « Add a URL » button: enter https://example.com/article; the public content is extracted then indexed in the same corpus (rag_url_ingest). Toast « URL sent — indexing in progress. ».

  5. 5

    Extraction, chunking and indexing System

    The document is split into passages (« N chunks ») and embedded. On failure the row shows « Indexing failed: … » and the « Reprocess » button restarts it (« Reprocessing started. »).

  6. 6

    Test semantic search Editor / publisher

    « Semantic search » panel: « Ask a question about your documents… » then « Search ». Relevant passages return with their « relevance » score; « No relevant passage found. » signals an insufficient corpus.

  7. 7

    Generation and copilot grounded on the corpus AI

    Once indexed, documents become a source of truth (« Grounded generation (RAG) »): post generation relies on them and the copilot can query the corpus (search_documents tool) to answer with facts from your documents.

  8. 8

    Keep the corpus current Editor / publisher

    Delete an outdated document (« Delete the document », confirmed) or reprocess it after an update. Reload the page: the list and counters reflect the actually stored state.

    /ai/rag-documents Confirm card

Collaboration

  • Marketing team: prepares the plan and reference documents (prices, pitches). Editor: drops, tests search and writes.
  • Client viewer: can read the list and search but cannot drop or delete (read-only role).
  • Owner-admin: tracks indexing cost in Settings > Credits.

With the AI Copilot

  • « « Index this document into plan X » and « Add this URL to the knowledge base » (index_org_document, ingest_url). »
  • « « Search my documents for what we say about the warranty » (search_documents). »
  • « « Reprocess the failed document » (reprocess_document). »

Outcome

A searchable corpus attached to a plan, used for factual content and answers, with controlled deletion and reprocessing.

Pitfalls

See also