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:
Vikas Sheoran 2023-08-27 00:34:43 +05:30 committed by GitHub
parent aab01b55db
commit 63921e327d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)"