Fix typo in lcel example for rerank in doc (#14336)

fix typo in lcel example for rerank in doc
This commit is contained in:
Nicolas Bondoux 2023-12-06 17:21:41 +01:00 committed by GitHub
parent e1ea191237
commit 86b08d7753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@
" description=\"The answer to the question, which is based ONLY on the provided context.\"\n", " description=\"The answer to the question, which is based ONLY on the provided context.\"\n",
" )\n", " )\n",
" score: float = Field(\n", " score: float = Field(\n",
" decsription=\"A 0.0-1.0 relevance score, where 1.0 indicates the provided context answers the question completely and 0.0 indicates the provided context does not answer the question at all.\"\n", " description=\"A 0.0-1.0 relevance score, where 1.0 indicates the provided context answers the question completely and 0.0 indicates the provided context does not answer the question at all.\"\n",
" )\n", " )\n",
"\n", "\n",
"\n", "\n",