We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36effb3 commit ee79f2cCopy full SHA for ee79f2c
src/tools/mongodb/read/aggregate.ts
@@ -252,7 +252,7 @@ export class AggregateTool extends MongoDBToolBase {
252
inputType: "query",
253
});
254
255
- // $vectorSearch.queryVector can be a BSON.Binary: that it's not either number or an array.
+ // $vectorSearch.queryVector can be a BSON.Binary, which is neither a number nor an array.
256
// It's not exactly valid from the LLM perspective. That's why we overwrite the
257
// stage in an untyped way, as what we expose and what we can use are different.
258
vectorSearchStage.queryVector = embeddings as number[];
0 commit comments