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: tests/accuracy/createIndex.test.ts
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ describeAccuracyTests([
47
47
],
48
48
},
49
49
{
50
-
prompt: "Create a vector search index on 'mydb.movies' namespace with on the 'plotSummary' field. The index should use 1024 dimensions.",
50
+
prompt: "Create a vector search index on 'mydb.movies' namespace on the 'plotSummary' field. The index should use 1024 dimensions.",
51
51
expectedToolCalls: [
52
52
{
53
53
toolName: "create-index",
@@ -64,10 +64,6 @@ describeAccuracyTests([
64
64
path: "plotSummary",
65
65
numDimensions: 1024,
66
66
},
67
-
{
68
-
type: "filter",
69
-
path: "releaseDate",
70
-
},
71
67
],
72
68
},
73
69
],
@@ -76,7 +72,7 @@ describeAccuracyTests([
76
72
],
77
73
},
78
74
{
79
-
prompt: "Create a vector search index on 'mydb.movies' namespace with on the 'plotSummary' field and 'genre' field. Pick a sensible number of dimensions for a voyage 3.5 model.",
75
+
prompt: "Create a vector search index on 'mydb.movies' namespace with on the 'plotSummary' field and 'genre' field, both of which contain vector embeddings. Pick a sensible number of dimensions for a voyage 3.5 model.",
0 commit comments