This commit is contained in:
Bagatur 2023-07-17 07:53:11 -07:00 committed by GitHub
parent 111bd7ddbe
commit 98c48f303a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1290 additions and 1291 deletions

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@
"\n",
"As database either Redis standalone server or Redis Sentinel HA setups are supported for connections with the \"redis_url\"\n",
"parameter. More information about the different formats of the redis connection url can be found in the LangChain\n",
"[Redis Readme](../../../../integrations/redis.md) file"
"[Redis Readme](/docs/modules/data_connection/vectorstores/integrations/redis) file"
]
},
{
@ -265,6 +265,7 @@
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Redis connection Url examples\n",
"\n",
@ -275,14 +276,12 @@
"4. `rediss+sentinel://` - Connection to Redis server via Redis Sentinel, booth connections with TLS encryption\n",
"\n",
"More information about additional connection parameter can be found in the redis-py documentation at https://redis-py.readthedocs.io/en/stable/connections.html"
],
"metadata": {
"collapsed": false
}
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# connection to redis standalone at localhost, db 0, no password\n",
@ -304,10 +303,7 @@
"# connection to redis sentinel at localhost and default port, db 0, no password\n",
"# but with TLS support for booth Sentinel and Redis server\n",
"redis_url=\"rediss+sentinel://localhost\"\n"
],
"metadata": {
"collapsed": false
}
]
}
],
"metadata": {
@ -326,7 +322,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
"version": "3.11.3"
}
},
"nbformat": 4,