From a15034d8d112034ebf6cf3d576dad60341ea1d4f Mon Sep 17 00:00:00 2001 From: Tushar Nitave Date: Wed, 7 May 2025 10:51:34 -0400 Subject: [PATCH] docs: Fixed grammar for chat prompt composition (#31148) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR fixes a grammar issue in the sentence: "A chat prompt is made up a of a list of messages..." → "A chat prompt is made up of a list of messages. " --- docs/docs/how_to/prompts_composition.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/how_to/prompts_composition.ipynb b/docs/docs/how_to/prompts_composition.ipynb index 25b51867b2e..7573c3de8dd 100644 --- a/docs/docs/how_to/prompts_composition.ipynb +++ b/docs/docs/how_to/prompts_composition.ipynb @@ -100,7 +100,7 @@ "id": "8554bae5", "metadata": {}, "source": [ - "A chat prompt is made up a of a list of messages. Similarly to the above example, we can concatenate chat prompt templates. Each new element is a new message in the final prompt.\n", + "A chat prompt is made up of a list of messages. Similarly to the above example, we can concatenate chat prompt templates. Each new element is a new message in the final prompt.\n", "\n", "First, let's initialize the a [`ChatPromptTemplate`](https://python.langchain.com/api_reference/core/prompts/langchain_core.prompts.chat.ChatPromptTemplate.html) with a [`SystemMessage`](https://python.langchain.com/api_reference/core/messages/langchain_core.messages.system.SystemMessage.html)." ]