We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43435f7 commit da6d825Copy full SHA for da6d825
python-recipes/RAG/07_user_role_based_rag.ipynb
@@ -268,15 +268,8 @@
268
"REDIS_URL = f\"redis://:{REDIS_PASSWORD}@{REDIS_HOST}:{REDIS_PORT}\"\n",
269
"\n",
270
"# Connect to Redis (adjust host/port if needed)\n",
271
- "# redis_client = Redis.from_url(REDIS_URL)\n",
272
- "# redis_client.ping()\n",
273
- "\n",
274
- "redis_client = Redis(\n",
275
- " host='redis-15820.c104.us-east-1-mz.ec2.redns.redis-cloud.com',\n",
276
- " port=15820,\n",
277
- " username=\"default\",\n",
278
- " password=\"ce8qIKYGOu1t5HUFD7kQlqvZpr5QcxJZ\",\n",
279
- ")\n",
+ "redis_client = Redis.from_url(REDIS_URL)\n",
+ "redis_client.ping()\n",
280
281
"print(\"Successfully connected to Redis\")"
282
]
0 commit comments