File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ method as a query builder method and as an Eloquent model method. You
206
206
can use the ``vectorSearch()`` method to run Atlas Vector Search queries
207
207
on documents in your collections.
208
208
209
- You must pass the following parameters to the ``search ()`` method:
209
+ You must pass the following parameters to the ``vectorSearch ()`` method:
210
210
211
211
- ``index``: Name of the vector search index (type: ``string``)
212
212
- ``path``: Field that stores vector embeddings (type: ``array`` or ``string``)
@@ -226,7 +226,7 @@ The following code uses the index created in the preceding
226
226
$movies = Book::vectorSearch(
227
227
index: 'vector',
228
228
path: 'vector_embeddings',
229
- // Vector representation of the query " coming of age"
229
+ // Vector representation of the query ` coming of age`
230
230
queryVector: [-0.0016261312, -0.028070757, ...],
231
231
limit: 3,
232
232
);
You can’t perform that action at this time.
0 commit comments