Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/develop/ai/search-and-query/vectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ HSET docs:01 doc_embedding <vector_bytes> category sports
Hash values are stored as binary-safe strings. The value `<vector_bytes>` represents the vector's underlying memory buffer.
{{% /alert %}}

A common method for converting vectors to bytes uses the [redis-py](https://redis-py.readthedocs.io/en/stable/examples/search_vector_similarity_examples.html) client library and the Python [NumPy](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.tobytes.html) library.
A common method for converting vectors to bytes uses the [redis-py](https://redis.readthedocs.io/en/stable/examples/search_vector_similarity_examples.html) client library and the Python [NumPy](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.tobytes.html) library.

**Example**

Expand Down
4 changes: 2 additions & 2 deletions content/develop/clients/redis-py/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ rc.set('foo', 'bar')
rc.get('foo')
# b'bar'
```
For more information, see [redis-py Clustering](https://redis-py.readthedocs.io/en/stable/clustering.html).
For more information, see [redis-py Clustering](https://redis.readthedocs.io/en/stable/clustering.html).

## Connect to your production Redis with TLS

Expand All @@ -89,7 +89,7 @@ r.set('foo', 'bar')
r.get('foo')
# b'bar'
```
For more information, see [redis-py TLS examples](https://redis-py.readthedocs.io/en/stable/examples/ssl_connection_examples.html).
For more information, see [redis-py TLS examples](https://redis.readthedocs.io/en/stable/examples/ssl_connection_examples.html).

## Connect using client-side caching

Expand Down
2 changes: 1 addition & 1 deletion content/integrate/redisom-for-python/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ Using `redis-cli`, you can check that the person now has a TTL set with the Redi

This shows that Redis will expire the key 584 seconds from now.

You can use the `.db()` function on your model class to get at the underlying redis-py connection whenever you want to run lower level Redis commands. For more details, see the [redis-py documentation](https://redis-py.readthedocs.io/en/stable/).
You can use the `.db()` function on your model class to get at the underlying redis-py connection whenever you want to run lower level Redis commands. For more details, see the [redis-py documentation](https://redis.readthedocs.io/en/stable/).

## Shutting Down Redis (Docker)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ print(r.set('foo', 'bar'))
print(r.get('foo'))
```

For more `redis-py` connection examples, see the [`redis-py` developer documentation](https://redis-py.readthedocs.io/en/stable/examples/connection_examples.html).
For more `redis-py` connection examples, see the [`redis-py` developer documentation](https://redis.readthedocs.io/en/stable/examples/connection_examples.html).
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ print(r.set('foo', 'bar'))
print(r.get('foo'))
```

For more `redis-py` connection examples, see the [`redis-py` developer documentation](https://redis-py.readthedocs.io/en/stable/examples/connection_examples.html).
For more `redis-py` connection examples, see the [`redis-py` developer documentation](https://redis.readthedocs.io/en/stable/examples/connection_examples.html).
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ print(r.set('foo', 'bar'))
print(r.get('foo'))
```

For more `redis-py` connection examples, see the [`redis-py` developer documentation](https://redis-py.readthedocs.io/en/stable/examples/connection_examples.html).
For more `redis-py` connection examples, see the [`redis-py` developer documentation](https://redis.readthedocs.io/en/stable/examples/connection_examples.html).