Skip to content

Commit d292124

Browse files
Update vectors-basic.md
1 parent e3a6d3b commit d292124

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/vss/vectors-basic.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
## Vector search
2-
3-
Data is often unstructured, which means that it isn't described by a well-defined schema. Examples of unstructured data include text passages, images, videos, and music titles. One approach to dealing with unstructured data is to vectorize it. Vectorizing means mapping unstructured data to a flat sequence of numbers. Vectors represent the data embedded in an N-dimensional space. Machine learning models have facilitated the rise of embeddings as a widely embraced method for generating dense, low-dimensional vector representations. Given a suitable machine learning model, the generated embeddings can encapsulate complex patterns and semantic meanings inherent in data.
4-
5-
You can use Redis Stack as a vector database, which allows you to:
6-
7-
- Store vectors and the associated metadata within hashes or JSON documents.
8-
- Retrieve vectors.
9-
- Perform vector searches.
10-
111
The following JSON data model will be used in this tutorial. The data represents user preferences that a hypothetical bike shop might use to target ads to its customers.
122

133
```
@@ -90,9 +80,3 @@ Now you can perform your search using the byte string you obtained from Python a
9080
```redis Search
9181
FT.SEARCH idx:user_prefs "(*)=>[KNN 2 @vector $input_vector]" PARAMS 2 input_vector "fff?333?\xcd\xccL>" DIALECT 2
9282
```
93-
94-
### Resources
95-
96-
[Redis as a vector database quick start guide](https://redis.io/docs/latest/develop/get-started/vector-database/)
97-
98-
[Redis University course number RU402](https://university.redis.com/): "Redis as a vector database".

0 commit comments

Comments
 (0)