The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: Fix description (#22611)
andyjessencfed68e06fab
diff --git a/docs/docs/how_to/extraction_examples.ipynb b/docs/docs/how_to/extraction_examples.ipynbindex 27d40ea77c..d6cd55982c 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 person's eyes if known\"\n",+ " ..., description=\"The color of the person's hair if known\"\n"," )\n"," height_in_meters: Optional[str] = Field(..., description=\"Height in METERs\")\n","\n",diff --git a/libs/core/langchain_core/utils/function_calling.py b/libs/core/langchain_core/utils/function_calling.pyindex 49197423e1..92e78fab7d 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 person's eyes if known"+ ..., description="The color of the person's hair if known")height_in_meters: Optional[str] = Field(..., description="Height in METERs"