From 8a050ba4bf6ef126572d90a699b94eedb16529e0 Mon Sep 17 00:00:00 2001 From: Zander Chase <130414180+vowelparrot@users.noreply.github.com> Date: Tue, 18 Apr 2023 22:43:52 -0700 Subject: [PATCH] Notebook Nit (#3125) The required arg is `question` not `query` --- docs/modules/agents/tools/custom_tools.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/agents/tools/custom_tools.ipynb b/docs/modules/agents/tools/custom_tools.ipynb index 841cee6f1aafbd..2e2fa6f7f82f39 100644 --- a/docs/modules/agents/tools/custom_tools.ipynb +++ b/docs/modules/agents/tools/custom_tools.ipynb @@ -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",