Skip to content

Commit 3ca5f5b

Browse files
committed
Apply code review suggestions
1 parent ca332fa commit 3ca5f5b

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

content/commands/vismember.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ is the name of the key that holds the vector set.
4747
is the name of the element you want to check for membership.
4848
</details>
4949

50+
## Related topics
51+
52+
- [Vector sets]({{< relref "/develop/data-types/vector-sets" >}})
53+
5054
## Return information
5155

5256
{{< multitabs id="vismember-return-info"
@@ -60,7 +64,3 @@ is the name of the element you want to check for membership.
6064
[Boolean reply](../../develop/reference/protocol-spec#booleans): `false` if the element does not exist in the vector set, or the key does not exist. `true` if the element exists in the vector set.
6165

6266
{{< /multitabs >}}
63-
64-
## Related topics
65-
66-
- [Vector sets]({{< relref "/develop/data-types/vector-sets" >}})

content/commands/vrem.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,10 @@ Remove an element from a vector set.
2626
```shell
2727
VADD vset VALUES 3 1 0 1 bar
2828
(integer) 1
29-
```
3029

31-
```shell
3230
VREM vset bar
3331
(integer) 1
34-
```
3532

36-
```shell
3733
VREM vset bar
3834
(integer) 0
3935
```

content/commands/vsim.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ limits the number of returned results to `num`.
102102
<details open>
103103
<summary><code>EPSILON delta</code></summary>
104104

105-
is a floating point number between 0 and 1. It is used to retrieve elements that have a distance that is no further than the specified `delta`. In vector sets, returned elements have a similarity score (when compared to the query vector) that is between 1 and 0, where 1 means identical and 0 means opposite vectors. For example, if the `EPSILON` option is specified with an argument of `0.2`, it means only elements that have a similarity of 0.8 or better (a distance < 0.2) are returned. This is useful when a large `COUNT` is specified, but you don't want elements that are too far away the query vector.
105+
is a floating point number between 0 and 1. It is used to retrieve elements that have a distance that is no further than the specified `delta`. In vector sets, returned elements have a similarity score (when compared to the query vector) that is between 1 and 0, where 1 means identical and 0 means opposite vectors. For example, if the `EPSILON` option is specified with an argument of `0.2`, it means only elements that have a similarity of 0.8 or better (a distance < 0.2) are returned. This is useful when you specify a large `COUNT`, but you don't want elements that are too far away from the query vector.
106106
</details>
107107

108108
<details open>

0 commit comments

Comments
 (0)