mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-11 22:04:37 +00:00
docs: Fixed grammar for chat prompt composition (#31148)
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. "
This commit is contained in:
parent
57c81dc3e3
commit
a15034d8d1
@ -100,7 +100,7 @@
|
|||||||
"id": "8554bae5",
|
"id": "8554bae5",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"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",
|
"\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)."
|
"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)."
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user