Replies: 1 comment 8 replies
-
The
The Ensure that the tool name you are using matches exactly with the name defined in your tools list. For example, if your tool is named "荔枝知识增强检索", make sure this name is used consistently throughout your code. Additionally, the required fields for the
This is defined as: class RetrieverInput(BaseModel):
"""Input to the retriever."""
query: str = Field(description="query to look up in retriever") [7]. Make sure that the input to your tool includes the 'query' field correctly. If the tool name and input fields are correct, the validation error should be resolved. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
I run the code and use langsmith to see what happen in each step,
In the (tools --荔枝知识增强检索),error as follow:
What cause the error, because I did have the 'query'
System Info
python 3.11.9
Beta Was this translation helpful? Give feedback.
All reactions