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
To convert this value to a xref:values-and-types/vector.adoc[`VECTOR` value], use the xref:functions/vector.adoc#functions-vector[`vector()`] function.
74
+
To convert and store this value as a xref:values-and-types/vector.adoc[`VECTOR` property type], use the xref:functions/vector.adoc#functions-vector[`vector()`] function.
75
75
76
76
.Signature for `vector()` label:function[]
77
77
[source]
@@ -113,9 +113,9 @@ This result only shows the first 4 of the 1536 numbers in the embedding.
113
113
====
114
114
115
115
[[store-single-embedding-list-float]]
116
-
=== Store a single embedding as a list of floats property
116
+
=== Store a single embedding as a LIST<FLOAT> property
117
117
118
-
Use the `db.create.setNodeVectorProperty` procedure to store an embedding as `LIST<FLOAT>` value to a node property.
118
+
Use the `db.create.setNodeVectorProperty` procedure to store an embedding as a `LIST<FLOAT>` value to a node property.
119
119
120
120
.Signature for `db.create.setNodeVectorProperty` label:procedure[]
121
121
[source,syntax]
@@ -204,10 +204,10 @@ Each returned row contains the following columns:
=== Store multiple embeddings as vector properties
207
+
=== Store multiple embeddings as VECTOR property values
208
208
209
-
`genai.vector.encodeBatch()` returns a `LIST<FLOAT>` `vector` value.
210
-
To convert this value to a xref:values-and-types/vector.adoc[`VECTOR` value], use the xref:functions/vector.adoc#functions-vector[`vector()`] function.
209
+
`genai.vector.encodeBatch()` returns a `LIST<FLOAT>` value.
210
+
To convert and store this value as a xref:values-and-types/vector.adoc[`VECTOR` property type], use the xref:functions/vector.adoc#functions-vector[`vector()`] function.
211
211
The full function signature can be seen xref:genai-integrations.adoc#store-single-embedding-vector[above].
212
212
213
213
.Create embeddings from a limited number of properties and store them as `VECTOR` properties
@@ -266,9 +266,9 @@ For an alternative method more suitable to processing large amounts of data, see
266
266
====
267
267
268
268
[[store-multiple-embeddings-list-float]]
269
-
=== Store multiple embeddings as list of floats properties
269
+
=== Store multiple embeddings as `LIST<FLOAT>` properties
270
270
271
-
Use the `db.create.setNodeVectorProperty` procedure to store an embedding as `LIST<FLOAT>` value to a node property.
271
+
Use the `db.create.setNodeVectorProperty` procedure to store an embedding as a `LIST<FLOAT>` value to a node property.
272
272
Use the `db.create.setRelationshipVectorProperty` procedure to store an embedding as a `LIST<FLOAT>` value to a relationship property.
273
273
The full procedure signatures can be seen xref:genai-integrations.adoc#store-single-embedding-list-float[above].
0 commit comments