Mar '24 (edited) • CrewAI
Facing issue while using native crewAI tools
I tried creating a simple agent with a task to query a CSV file and I have provided it access to CSV RAG Search - crewAI tool. I am getting the attached error.
Below is how I have implemented the tool:
from langchain.tools import tool
from crewai_tools import CSVSearchTool
class CsvTool:
@tool("Searches into a CSV file")
def query_csv(self):
"""
This tool is used to perform a RAG (Retrieval-Augmented Generation) search within a CSV file's content
"""
query_tool = CSVSearchTool('data-agent.csv')
return query_tool
1
1 comment
Parth Bhandari
1
Facing issue while using native crewAI tools
AI Developer Accelerator
skool.com/ai-developer-accelerator
Master AI & software development to build apps and unlock new income streams. Transform ideas into profits. 💡➕🤖➕👨‍💻🟰💰
Leaderboard (30-day)
Powered by