Skip to content

The agent engineering platform.

docs: Fix typo (#22603)

andyjessen8b40428f5873
diff --git a/docs/docs/how_to/extraction_examples.ipynb b/docs/docs/how_to/extraction_examples.ipynb
index 56deda9c63..27d40ea77c 100644
--- a/docs/docs/how_to/extraction_examples.ipynb
+++ b/docs/docs/how_to/extraction_examples.ipynb
@@ -128,7 +128,7 @@
" # Having a good description can help improve extraction results.\n",
" name: Optional[str] = Field(..., description=\"The name of the person\")\n",
" hair_color: Optional[str] = Field(\n",
- " ..., description=\"The color of the peron's eyes if known\"\n",
+ " ..., description=\"The color of the person's eyes if known\"\n",
" )\n",
" height_in_meters: Optional[str] = Field(..., description=\"Height in METERs\")\n",
"\n",
diff --git a/docs/docs/tutorials/extraction.ipynb b/docs/docs/tutorials/extraction.ipynb
index 263b9b8636..b9a3ccca3a 100644
--- a/docs/docs/tutorials/extraction.ipynb
+++ b/docs/docs/tutorials/extraction.ipynb
@@ -128,7 +128,7 @@
" # Having a good description can help improve extraction results.\n",
" name: Optional[str] = Field(default=None, description=\"The name of the person\")\n",
" hair_color: Optional[str] = Field(\n",
- " default=None, description=\"The color of the peron's hair if known\"\n",
+ " default=None, description=\"The color of the person's hair if known\"\n",
" )\n",
" height_in_meters: Optional[str] = Field(\n",
" default=None, description=\"Height measured in meters\"\n",
@@ -303,7 +303,7 @@
" # Having a good description can help improve extraction results.\n",
" name: Optional[str] = Field(default=None, description=\"The name of the person\")\n",
" hair_color: Optional[str] = Field(\n",
- " default=None, description=\"The color of the peron's hair if known\"\n",
+ " default=None, description=\"The color of the person's hair if known\"\n",
" )\n",
" height_in_meters: Optional[str] = Field(\n",
" default=None, description=\"Height measured in meters\"\n",
diff --git a/libs/core/langchain_core/utils/function_calling.py b/libs/core/langchain_core/utils/function_calling.py
index 932b329f87..49197423e1 100644
--- a/libs/core/langchain_core/utils/function_calling.py
+++ b/libs/core/langchain_core/utils/function_calling.py
@@ -386,7 +386,7 @@ def tool_example_to_messages(
'''Information about a person.'''
name: Optional[str] = Field(..., description="The name of the person")
hair_color: Optional[str] = Field(
- ..., description="The color of the peron's eyes if known"
+ ..., description="The color of the person's eyes if known"
)
height_in_meters: Optional[str] = Field(
..., description="Height in METERs"