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
"When true, uses an ENN algorithm, otherwise uses ANN. Using ENN is not compatible with numCandidates, in that case, numCandidates must be left empty."
55
+
),
56
+
index: z.string().describe("Name of the index, as retrieved from the `collection-indexes` tool."),
57
+
path: z
58
+
.string()
59
+
.describe(
60
+
"Field, in dot notation, where to search. There must be a vector search index for that field. Note to LLM: When unsure, use the 'collection-indexes' tool to validate that the field is indexed with a vector search index."
61
+
),
62
+
queryVector: z
63
+
.union([z.string(),z.array(z.number())])
64
+
.describe(
65
+
"The content to search for. The embeddingParameters field is mandatory if the queryVector is a string, in that case, the tool generates the embedding automatically using the provided configuration."
66
+
),
67
+
numCandidates: z
68
+
.number()
69
+
.int()
70
+
.positive()
71
+
.optional()
72
+
.describe("Number of candidates for the ANN algorithm. Mandatory when exact is false."),
"MQL filter that can only use filter fields from the index definition. Note to LLM: If unsure, use the `collection-indexes` tool to learn which fields can be used for filtering."
"The embedding model and its parameters to use to generate embeddings before searching. It is mandatory if queryVector is a string value. Note to LLM: If unsure, ask the user before providing one."
"When true, uses an ENN algorithm, otherwise uses ANN. Using ENN is not compatible with numCandidates, in that case, numCandidates must be left empty."
28
-
),
29
-
index: z.string().describe("Name of the index, as retrieved from the `collection-indexes` tool."),
30
-
path: z
31
-
.string()
32
-
.describe(
33
-
"Field, in dot notation, where to search. There must be a vector search index for that field. Note to LLM: When unsure, use the 'collection-indexes' tool to validate that the field is indexed with a vector search index."
34
-
),
35
-
queryVector: z
36
-
.union([z.string(),z.array(z.number())])
37
-
.describe(
38
-
"The content to search for. The embeddingParameters field is mandatory if the queryVector is a string, in that case, the tool generates the embedding automatically using the provided configuration."
39
-
),
40
-
numCandidates: z
41
-
.number()
42
-
.int()
43
-
.positive()
44
-
.optional()
45
-
.describe("Number of candidates for the ANN algorithm. Mandatory when exact is false."),
"MQL filter that can only use filter fields from the index definition. Note to LLM: If unsure, use the `collection-indexes` tool to learn which fields can be used for filtering."
"The embedding model and its parameters to use to generate embeddings before searching. It is mandatory if queryVector is a string value. Note to LLM: If unsure, ask the user before providing one."
0 commit comments