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
"Successfully dropped the index from the provided namespace.",
79
+
JSON.stringify({
80
+
indexName,
81
+
namespace: `${database}.${collection}`,
82
+
})
83
+
),
84
+
};
85
+
}
86
+
87
+
protectedgetConfirmationMessage({
88
+
database,
89
+
collection,
90
+
indexName,
91
+
type,
92
+
}: ToolArgs<typeofthis.argsShape>): string{
39
93
return(
40
-
`You are about to drop the \`${indexName}\` index from the \`${database}.${collection}\` namespace:\n\n`+
94
+
`You are about to drop the ${type==="search" ? "search index" : "index"} named \`${indexName}\` from the \`${database}.${collection}\` namespace:\n\n`+
41
95
"This operation will permanently remove the index and might affect the performance of queries relying on this index.\n\n"+
prompt: "Create a vector search index on 'mflix.movies' namespace on the 'plotSummary' field. The index should use 1024 dimensions. Confirm that its created and then drop the index.",
0 commit comments