From 6fbd53bc60ae880e3186ae634228b4da9a07f703 Mon Sep 17 00:00:00 2001 From: Sanjay Parajuli <41162183+xanjay@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:55:24 +0200 Subject: [PATCH] docs: Update tool_calling.ipynb (#25434) **Description:** This part of the documentation didn't explain about the `required` property of function calling. I added additional line as a note. --------- Co-authored-by: Chester Curme --- docs/docs/how_to/tool_calling.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/how_to/tool_calling.ipynb b/docs/docs/how_to/tool_calling.ipynb index 5e38d15fbac..8263604c5c7 100644 --- a/docs/docs/how_to/tool_calling.ipynb +++ b/docs/docs/how_to/tool_calling.ipynb @@ -101,7 +101,9 @@ "\n", "### Pydantic class\n", "\n", - "You can equivalently define the schemas without the accompanying functions using [Pydantic](https://docs.pydantic.dev):" + "You can equivalently define the schemas without the accompanying functions using [Pydantic](https://docs.pydantic.dev).\n", + "\n", + "Note that all fields are `required` unless provided a default value.\n" ] }, {