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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/type-definitions/directives/genai.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ Queries are either performed by the vector index of a specific node or by a quer
8
8
9
9
A query by vector index finds nodes with a vector embedding similar to that index, which is also referred to as nearest neighbor search.
10
10
11
-
In contrast, a query by phrase (a string of text) passes the phrase to the link::https://neo4j.com/docs/cypher-manual/current/genai-integrations/[Neo4j GenAI plugin] and the plugin generates a vector embedding for it.
12
-
This embedding is then compared to the node vector embeddings in the database and the result set
11
+
In contrast, a query by phrase (a string of text) passes the phrase to the link:https://neo4j.com/docs/cypher-manual/current/genai-integrations/[Neo4j GenAI plugin] and the plugin generates a vector embedding for it.
12
+
This embedding is then compared to the node vector embeddings in the database and the result set.
13
13
14
14
[NOTE]
15
15
.Prerequisites
@@ -62,8 +62,8 @@ type Product @vector(
62
62
}
63
63
----
64
64
65
-
Adding the vector directive to the `Product` type creates a a top-level query named `productsInterestingVector`.
66
-
The name is a combination of the plural form of the type name, the index name and `Vector`:
65
+
Adding the vector directive to the `Product` type creates a top-level query named `productsInterestingVector`.
66
+
The name is a combination of the plural form of the type name, the index name, and `Vector`:
67
67
68
68
.Query schema
69
69
[source, graphql]
@@ -115,7 +115,7 @@ query {
115
115
116
116
== `@genAI`
117
117
118
-
Perform a query which utilizes the link::https://neo4j.com/docs/cypher-manual/current/genai-integrations/[Neo4j GenAI plugin] to create a vector embedding for a search phrase and then compares it to existing vector embeddings on nodes in the database.
118
+
Perform a query which utilizes the link:https://neo4j.com/docs/cypher-manual/current/genai-integrations/[Neo4j GenAI plugin] to create a vector embedding for a search phrase and then compares it to existing vector embeddings on nodes in the database.
0 commit comments