mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-17 08:29:28 +00:00
docs: Fix typo (#22603)
This commit changes minor typo in the field description.
This commit is contained in:
parent
ba3e219d83
commit
8b40428f58
@ -128,7 +128,7 @@
|
|||||||
" # Having a good description can help improve extraction results.\n",
|
" # Having a good description can help improve extraction results.\n",
|
||||||
" name: Optional[str] = Field(..., description=\"The name of the person\")\n",
|
" name: Optional[str] = Field(..., description=\"The name of the person\")\n",
|
||||||
" hair_color: Optional[str] = Field(\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",
|
" )\n",
|
||||||
" height_in_meters: Optional[str] = Field(..., description=\"Height in METERs\")\n",
|
" height_in_meters: Optional[str] = Field(..., description=\"Height in METERs\")\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
" # Having a good description can help improve extraction results.\n",
|
" # Having a good description can help improve extraction results.\n",
|
||||||
" name: Optional[str] = Field(default=None, description=\"The name of the person\")\n",
|
" name: Optional[str] = Field(default=None, description=\"The name of the person\")\n",
|
||||||
" hair_color: Optional[str] = Field(\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",
|
" )\n",
|
||||||
" height_in_meters: Optional[str] = Field(\n",
|
" height_in_meters: Optional[str] = Field(\n",
|
||||||
" default=None, description=\"Height measured in meters\"\n",
|
" default=None, description=\"Height measured in meters\"\n",
|
||||||
@ -303,7 +303,7 @@
|
|||||||
" # Having a good description can help improve extraction results.\n",
|
" # Having a good description can help improve extraction results.\n",
|
||||||
" name: Optional[str] = Field(default=None, description=\"The name of the person\")\n",
|
" name: Optional[str] = Field(default=None, description=\"The name of the person\")\n",
|
||||||
" hair_color: Optional[str] = Field(\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",
|
" )\n",
|
||||||
" height_in_meters: Optional[str] = Field(\n",
|
" height_in_meters: Optional[str] = Field(\n",
|
||||||
" default=None, description=\"Height measured in meters\"\n",
|
" default=None, description=\"Height measured in meters\"\n",
|
||||||
|
@ -386,7 +386,7 @@ def tool_example_to_messages(
|
|||||||
'''Information about a person.'''
|
'''Information about a person.'''
|
||||||
name: Optional[str] = Field(..., description="The name of the person")
|
name: Optional[str] = Field(..., description="The name of the person")
|
||||||
hair_color: Optional[str] = Field(
|
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(
|
height_in_meters: Optional[str] = Field(
|
||||||
..., description="Height in METERs"
|
..., description="Height in METERs"
|
||||||
|
Loading…
Reference in New Issue
Block a user