Skip to content

Commit 3c96ccc

Browse files
committed
note point in VSS nodejs tutorial
1 parent 829755b commit 3c96ccc

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

docs/howtos/solutions/vector/getting-started-vector/index-getting-started-vector.mdx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,13 +678,26 @@ console.log(JSON.stringify(result2, null, 4));
678678
*/
679679
```
680680
681+
## Image vs text vector query
682+
681683
:::info Image vs text vector query
682-
The syntax for KNN/range vector queries remains consistent whether you're dealing with image vectors or text vectors.
684+
The syntax for vector KNN/ range queries is consistent, regardless of whether you're working with image vectors or text vectors. Just as there's a method for text vector queries named `queryProductDescriptionEmbeddingsByKNN`, there's a corresponding method for images titled `queryProductImageEmbeddingsByKNN` in the code base.
683685
:::
684686
685-
## Understanding the math behind vector similarity searches
687+
:::tip GITHUB CODE
688+
689+
Below is a command to the clone the source code used in this tutorial
690+
691+
git clone https://github.com/redis-developer/redis-vector-nodejs-solutions.git
692+
:::
693+
694+
Hopefully this tutorial has helped you visualize how to use Redis for vector similarity search.
695+
696+
---
697+
698+
(Optional) If you want to also understand the math behind vector similarity search , then read following
686699
687-
### How to calculate vector similarity?
700+
## How to calculate vector similarity?
688701
689702
Several techniques are available to assess vector similarity, with some of the most prevalent ones being:
690703

0 commit comments

Comments
 (0)