rag
Registered Go module (internal/modules/rag). Agents work with
knowledge bases through the tools below. Config is richer than the
tool list (sources, backends, chunking, cache, ACL, auto_index);
see the language page for YAML shape, but treat tool names on
this page as authoritative.
| Property | Value |
|---|---|
| Module id | rag |
| Tools (this build) | 11 |
Agent tools
| Tool | Purpose |
|---|---|
rag.create_knowledge_base | Create a named KB |
rag.delete_knowledge_base | Delete a KB |
rag.list_knowledge_bases | List KBs |
rag.knowledge_base_stats | Stats for one KB |
rag.index_stats | Index / engine stats |
rag.ingest | Ingest raw text / documents |
rag.ingest_file | Ingest one file |
rag.ingest_directory | Ingest a directory |
rag.query | Retrieve from a KB |
rag.reindex | Reindex |
rag.migrate_embeddings | Re-embed under a new model |
Not registered as agent tools in this build:
ingest_database, multi_query, sql_query, clear_cache,
list_models. Database / web / kafka-style sources may still be
configured on the module and driven by the indexer; that is config +
background indexing, not those tool names.
Quick start
tools:
modules:
rag: {}
auto_index.schedule is a cron string handled by the RAG indexer
triggers path. It does not use the stub cron_native module.
Related
- Longer YAML / concepts: RAG
(verify claims against this tool list and
internal/modules/rag) - Module index