mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
parent
364257d967
commit
8a050ba4bf
@ -97,7 +97,7 @@
|
|||||||
"from pydantic import BaseModel, Field\n",
|
"from pydantic import BaseModel, Field\n",
|
||||||
"\n",
|
"\n",
|
||||||
"class CalculatorInput(BaseModel):\n",
|
"class CalculatorInput(BaseModel):\n",
|
||||||
" query: str = Field(description=\"should be a math expression\")\n",
|
" question: str = Field()\n",
|
||||||
" \n",
|
" \n",
|
||||||
"\n",
|
"\n",
|
||||||
"tools.append(\n",
|
"tools.append(\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user