mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +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",
|
||||
" 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",
|
||||
" 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",
|
||||
"memory = ConversationBufferMemory(memory_key=\"chat_history\", return_messages=True)"
|
||||
|
Loading…
Reference in New Issue
Block a user