agents.rag.llm_rag.exampleยถ
Example usage of the LLM RAG Agent.
from typing import Any This script demonstrates how to: 1. Create and configure an LLM RAG agent 2. Run queries and access the results 3. Customize the agentโs behavior
Functionsยถ
Compare different agent configurations side by side. |
|
|
Creates and configures an LLM RAG agent. |
|
Main function to run the example. |
|
Run a set of example queries against the agent. |
Module Contentsยถ
- agents.rag.llm_rag.example.compare_agent_configurations()ยถ
Compare different agent configurations side by side.
- Return type:
None
- agents.rag.llm_rag.example.create_llm_rag_agent(use_relevance_checker=True, return_documents=3)ยถ
Creates and configures an LLM RAG agent.
- agents.rag.llm_rag.example.main()ยถ
Main function to run the example.
- Return type:
None
- agents.rag.llm_rag.example.run_example_queries(agent)ยถ
Run a set of example queries against the agent.
- Parameters:
agent (Any) โ The LLM RAG agent to query