docs: fix docker command for RedisChatMessageHistory (#27484)

docs: "fix docker command"

- **Description**: The Redis chat message history component requires the
Redis Stack to create indexes. When using only Redis, the following
error occurs: "Unknown command 'FT.INFO', with args beginning with:
'chat_history'".
- **Twitter handle**: savar_bhasin

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Savar Bhasin
2024-10-23 01:12:51 +05:30
committed by GitHub
parent 9a277cbe00
commit 0cae37b0a9

View File

@@ -36,7 +36,7 @@
"Make sure you have a Redis server running. You can start one using Docker with the following command:\n",
"\n",
"```\n",
"docker run -d -p 6379:6379 redis:latest\n",
"docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest\n",
"```\n",
"\n",
"Or install and run Redis locally according to the instructions for your operating system."