From 7302787a7bc370ef9b59718351525f683cd2bf1c Mon Sep 17 00:00:00 2001 From: Mauricio Scheffer Date: Sun, 16 Apr 2023 20:57:04 +0100 Subject: [PATCH] Fix docs for parse_with_prompt (#2986) --- docs/modules/prompts/output_parsers/getting_started.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/prompts/output_parsers/getting_started.ipynb b/docs/modules/prompts/output_parsers/getting_started.ipynb index a837c55d..0758a36e 100644 --- a/docs/modules/prompts/output_parsers/getting_started.ipynb +++ b/docs/modules/prompts/output_parsers/getting_started.ipynb @@ -16,7 +16,7 @@ "\n", "And then one optional one:\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", "Below we go over the main type of output parser, the `PydanticOutputParser`. See the `examples` folder for other options."