You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example, `[1.05, 0.123, 5]` is the list of values, `3` its dimension, and `FLOAT32` the data type of the individual entries. +
25
25
Each number in the list can also be seen as a coordinate along one of the vector's dimensions.
26
26
27
+
[TIP]
28
+
You can convert vectors into lists via the functions xref:functions/list.adoc#functions-tointegerlist[`toIntegerList()`] and xref:functions/list.adoc#functions-tofloatlist[`toFloatList()`].
29
+
27
30
28
31
[[valid-values]]
29
32
=== Valid values
30
33
31
-
- A `VECTOR` value must have a dimension and a coordinate type.
34
+
- A `VECTOR` value must have a dimension and a coordinate type (see table below for supported types).
32
35
- The dimension of a `VECTOR` value must be larger than `0` and less than or equal to `4096`.
33
36
- Vectors cannot contain lists as elements.
34
-
- Supported coordinate types are: +
35
-
+
37
+
38
+
[[supported-coordinate-types]]
39
+
.Supported coordinate types
36
40
[options="header",cols="2*<m"]
37
41
|===
38
42
| Default name | Alias
@@ -258,6 +262,9 @@ For more information, see:
258
262
- Storing vector embeddings as `VECTOR` properties with a defined coordinate type allows them to be stored more efficiently.
259
263
Moreover, reducing a vector's coordinate type (e.g., from `INTEGER16` to `INTEGER8`) downsizes storage requirements and improves performance, provided all values remain within the range supported by the smaller type.
260
264
265
+
[TIP]
266
+
You can convert vectors into lists via the functions xref:functions/list.adoc#functions-tointegerlist[`toIntegerList()`] and xref:functions/list.adoc#functions-tofloatlist[`toFloatList()`].
267
+
261
268
For information about how to store embeddings as `VECTOR` values with the xref:genai-integrations.adoc[GenAI plugin], see:
262
269
263
270
* xref:genai-integrations.adoc#single-embedding[Generate a single embedding and store it]
0 commit comments