The LlamaIndexTool
is a wrapper for LlamaIndex tools and query engines.
LlamaIndexTool
The LlamaIndexTool
is designed to be a general wrapper around LlamaIndex tools and query engines, enabling you to leverage LlamaIndex resources in terms of RAG/agentic pipelines as tools to plug into CrewAI agents. This tool allows you to seamlessly integrate LlamaIndex’s powerful data processing and retrieval capabilities into your CrewAI workflows.
To use this tool, you need to install LlamaIndex:
To effectively use the LlamaIndexTool
, follow these steps:
The following examples demonstrate how to initialize the tool from different LlamaIndex components:
The LlamaIndexTool
provides two main class methods for creating instances:
Creates a LlamaIndexTool
from a LlamaIndex tool.
Creates a LlamaIndexTool
from a LlamaIndex query engine.
The from_query_engine
method accepts the following parameters:
False
.The LlamaIndexTool
provides a powerful way to integrate LlamaIndex’s capabilities into CrewAI agents. By wrapping LlamaIndex tools and query engines, it enables agents to leverage sophisticated data retrieval and processing functionalities, enhancing their ability to work with complex information sources.
The LlamaIndexTool
is a wrapper for LlamaIndex tools and query engines.
LlamaIndexTool
The LlamaIndexTool
is designed to be a general wrapper around LlamaIndex tools and query engines, enabling you to leverage LlamaIndex resources in terms of RAG/agentic pipelines as tools to plug into CrewAI agents. This tool allows you to seamlessly integrate LlamaIndex’s powerful data processing and retrieval capabilities into your CrewAI workflows.
To use this tool, you need to install LlamaIndex:
To effectively use the LlamaIndexTool
, follow these steps:
The following examples demonstrate how to initialize the tool from different LlamaIndex components:
The LlamaIndexTool
provides two main class methods for creating instances:
Creates a LlamaIndexTool
from a LlamaIndex tool.
Creates a LlamaIndexTool
from a LlamaIndex query engine.
The from_query_engine
method accepts the following parameters:
False
.The LlamaIndexTool
provides a powerful way to integrate LlamaIndex’s capabilities into CrewAI agents. By wrapping LlamaIndex tools and query engines, it enables agents to leverage sophisticated data retrieval and processing functionalities, enhancing their ability to work with complex information sources.