forked from Archives/langchain
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