This commit is contained in:
Nahin Khan 2023-04-15 18:53:25 +03:00 committed by GitHub
parent cf2789d86d
commit ad3973a3b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
"In order to add a memory with an external message store to an agent we are going to do the following steps:\n", "In order to add a memory with an external message store to an agent we are going to do the following steps:\n",
"\n", "\n",
"1. We are going to create a `RedisChatMessageHistory` to connect to an external database to store the messages in.\n", "1. We are going to create a `RedisChatMessageHistory` to connect to an external database to store the messages in.\n",
"2. We are going to create an `LLMChain` useing that chat history as memory.\n", "2. We are going to create an `LLMChain` using that chat history as memory.\n",
"3. We are going to use that `LLMChain` to create a custom Agent.\n", "3. We are going to use that `LLMChain` to create a custom Agent.\n",
"\n", "\n",
"For the purposes of this exercise, we are going to create a simple custom Agent that has access to a search tool and utilizes the `ConversationBufferMemory` class." "For the purposes of this exercise, we are going to create a simple custom Agent that has access to a search tool and utilizes the `ConversationBufferMemory` class."