Skip to content

Commit 8b3368d

Browse files
Apply suggestions from code review
Co-authored-by: Lidia Zuin <[email protected]>
1 parent 8928ba7 commit 8b3368d

File tree

1 file changed

+5
-5
lines changed
  • modules/ROOT/pages/type-definitions/directives

1 file changed

+5
-5
lines changed

modules/ROOT/pages/type-definitions/directives/genai.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Queries are either performed by the vector index of a specific node or by a quer
88

99
A query by vector index finds nodes with a vector embedding similar to that index, which is also referred to as nearest neighbor search.
1010

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.
1313

1414
[NOTE]
1515
.Prerequisites
@@ -62,8 +62,8 @@ type Product @vector(
6262
}
6363
----
6464

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`:
6767

6868
.Query schema
6969
[source, graphql]
@@ -115,7 +115,7 @@ query {
115115

116116
== `@genAI`
117117

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.
119119
Requires credentials for the plugin.
120120

121121
=== Definition

0 commit comments

Comments
 (0)