From 3207a7482915a658cf8f473ae0a81ba9998c8531 Mon Sep 17 00:00:00 2001 From: Cory Zue Date: Thu, 30 Mar 2023 16:52:40 +0200 Subject: [PATCH] fix typo in chat_prompt_template docs (#2193) --- docs/modules/prompts/chat_prompt_template.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/prompts/chat_prompt_template.ipynb b/docs/modules/prompts/chat_prompt_template.ipynb index df40ff0a..1aa5e5b4 100644 --- a/docs/modules/prompts/chat_prompt_template.ipynb +++ b/docs/modules/prompts/chat_prompt_template.ipynb @@ -40,7 +40,7 @@ "source": [ "You can make use of templating by using a `MessagePromptTemplate`. You can build a `ChatPromptTemplate` from one or more `MessagePromptTemplates`. You can use `ChatPromptTemplate`'s `format_prompt` -- this returns a `PromptValue`, which you can convert to a string or Message object, depending on whether you want to use the formatted value as input to an llm or chat model.\n", "\n", - "For convience, there is a `from_template` method exposed on the template. If you were to use this template, this is what it would look like:" + "For convenience, there is a `from_template` method exposed on the template. If you were to use this template, this is what it would look like:" ] }, {