mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-01 10:54:15 +00:00
docs: Fix a spelling mistake in adding_memory.ipynb (#9794)
# Description This pull request fixes a small spelling mistake found while reading docs.
This commit is contained in:
parent
aab01b55db
commit
63921e327d
@ -203,7 +203,7 @@
|
|||||||
"prompt = ChatPromptTemplate.from_messages([\n",
|
"prompt = ChatPromptTemplate.from_messages([\n",
|
||||||
" SystemMessage(content=\"You are a chatbot having a conversation with a human.\"), # The persistent system prompt\n",
|
" SystemMessage(content=\"You are a chatbot having a conversation with a human.\"), # The persistent system prompt\n",
|
||||||
" MessagesPlaceholder(variable_name=\"chat_history\"), # Where the memory will be stored.\n",
|
" MessagesPlaceholder(variable_name=\"chat_history\"), # Where the memory will be stored.\n",
|
||||||
" HumanMessagePromptTemplate.from_template(\"{human_input}\"), # Where the human input will injectd\n",
|
" HumanMessagePromptTemplate.from_template(\"{human_input}\"), # Where the human input will injected\n",
|
||||||
"])\n",
|
"])\n",
|
||||||
" \n",
|
" \n",
|
||||||
"memory = ConversationBufferMemory(memory_key=\"chat_history\", return_messages=True)"
|
"memory = ConversationBufferMemory(memory_key=\"chat_history\", return_messages=True)"
|
||||||
|
Loading…
Reference in New Issue
Block a user