-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
In some cases crewai is failing to call the tool correctly. We need to fix this
I encountered an error while trying to use the tool. This was the error: Arguments validation failed: 1 validation error for RAGPipelineToolSchema
query
Field required [type=missing, input_value={'description': "How has ...d literary traditions?"}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.9/v/missing.
Tool RAG pipeline tool accepts these inputs: Tool Name: RAG pipeline tool
Tool Arguments: {'query': {'description': 'The input query string provided by the user. The name is case sensitive.Please provide a value of type string. This parameter is required.', 'type': 'str'}}
Tool Description: This tool implements a Retrieval-Augmented Generation (RAG) pipeline which queries available data sources to provide accurate answers to user queries. .
Moving on then. I MUST either use a tool (use one at time) OR give my best final answer not both at the same time. When responding, I must use the following format:
An easy solution is to rely on langchain for calling the tool.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels