Skip to content

Commit

Permalink
Add the genai.vector.encode function to the available functions (#885) (
Browse files Browse the repository at this point in the history
  • Loading branch information
renetapopova authored Feb 8, 2024
1 parent 7d0b5ab commit bdedcbc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/ROOT/pages/functions/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This section contains information on all functions in the Cypher query language.
* LOAD CSV functions [xref::functions/index.adoc#header-query-functions-load-csv[Summary]|xref::functions/load-csv.adoc[Detail]]
* Graph functions [xref::functions/index.adoc#header-query-functions-graph[Summary]|xref::functions/graph.adoc[Detail]]
* Database functions [xref::functions/index.adoc#header-query-functions-database[Summary]|xref::functions/database.adoc[Detail]] label:new[Introduced in 5.12]
* GenAI function [xref::functions/index.adoc#header-query-functions-genai[Summary]|xref::genai-integrations.adoc#single-embedding[Detail]] label:new[Introduced in 5.16] label:aura-only[Avaliable only on Aura]
* User-defined functions [xref::functions/index.adoc#header-query-functions-user-defined[Summary]|xref::functions/user-defined.adoc[Detail]]

Related information may be found in xref::syntax/operators.adoc[Operators].
Expand Down Expand Up @@ -791,6 +792,18 @@ Database functions provide information about databases.
label:new[Introduced in 5.12]
|===

[[header-query-functions-genai]]
**xref::genai-integrations.adoc#single-embedding[GenAI function]** label:new[Introduced in 5.16] label:aura-only[Available only on Aura]

This function is used to generate a vector embedding for a single value.

[options="header"]
|===
| Function | Signature | Description
1.1+| xref:genai-integrations.adoc#single-embedding[`genai.vector.encode()`] | `genai.vector.encode(resource :: STRING, provider :: STRING, configuration :: MAP = {}) :: LIST<FLOAT>` | Encode a given resource as a vector using the named provider.
label:new[Introduced in 5.16] label:aura-only[Available only on Aura]
|===

[[header-query-functions-user-defined]]
**xref::functions/user-defined.adoc[User-defined functions]**

Expand Down

0 comments on commit bdedcbc

Please sign in to comment.