mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-29 01:48:57 +00:00
docs: Fix comment within "handle long text" example (#21248)
The current doc-string comment is referring to the wrong schema.
This commit is contained in:
parent
c3d169ab00
commit
64e17bd793
@ -115,8 +115,8 @@
|
|||||||
"class KeyDevelopment(BaseModel):\n",
|
"class KeyDevelopment(BaseModel):\n",
|
||||||
" \"\"\"Information about a development in the history of cars.\"\"\"\n",
|
" \"\"\"Information about a development in the history of cars.\"\"\"\n",
|
||||||
"\n",
|
"\n",
|
||||||
" # ^ Doc-string for the entity Person.\n",
|
" # ^ Doc-string for the entity KeyDevelopment.\n",
|
||||||
" # This doc-string is sent to the LLM as the description of the schema Person,\n",
|
" # This doc-string is sent to the LLM as the description of the schema KeyDevelopment,\n",
|
||||||
" # and it can help to improve extraction results.\n",
|
" # and it can help to improve extraction results.\n",
|
||||||
" # Note that all fields are required rather than optional!\n",
|
" # Note that all fields are required rather than optional!\n",
|
||||||
" year: int = Field(\n",
|
" year: int = Field(\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user