Skip to content

Commit

Permalink
Notebook Nit (#3125)
Browse files Browse the repository at this point in the history
The required arg is `question` not `query`
  • Loading branch information
vowelparrot committed Apr 19, 2023
1 parent 364257d commit 8a050ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/agents/tools/custom_tools.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"from pydantic import BaseModel, Field\n",
"\n",
"class CalculatorInput(BaseModel):\n",
" query: str = Field(description=\"should be a math expression\")\n",
" question: str = Field()\n",
" \n",
"\n",
"tools.append(\n",
Expand Down

0 comments on commit 8a050ba

Please sign in to comment.