mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
Fix docs for parse_with_prompt (#2986)
This commit is contained in:
parent
69698be3e6
commit
7302787a7b
@ -16,7 +16,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"And then one optional one:\n",
|
"And then one optional one:\n",
|
||||||
"\n",
|
"\n",
|
||||||
"- `parse_with_prompt(str) -> Any`: A method which takes in a string (assumed to be the response from a language model) and a prompt (assumed to the prompt that generated such a response) and parses it into some structure. The prompt is largely provided in the event the OutputParser wants to retry or fix the output in some way, and needs information from the prompt to do so.\n",
|
"- `parse_with_prompt(str, PromptValue) -> Any`: A method which takes in a string (assumed to be the response from a language model) and a prompt (assumed to the prompt that generated such a response) and parses it into some structure. The prompt is largely provided in the event the OutputParser wants to retry or fix the output in some way, and needs information from the prompt to do so.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Below we go over the main type of output parser, the `PydanticOutputParser`. See the `examples` folder for other options."
|
"Below we go over the main type of output parser, the `PydanticOutputParser`. See the `examples` folder for other options."
|
||||||
|
Loading…
Reference in New Issue
Block a user