Skip to main content

rag

Method
This is a method of the Agent class in the agent module.
Lazy-loaded RAG instance for advanced retrieval with citations. Returns RAG instance configured with agent’s knowledge and retrieval_config. Returns None if no knowledge is configured.

Signature

Returns

Returns
Any
The result of the operation.

Usage

Uses

  • RAGConfig
  • to_rag_config
  • RAG
  • logging.warning

Source

View on GitHub

praisonaiagents/agent/agent.py at line 2933

RAG Concept

RAG Overview

Chunking Strategies