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
206206can use the ``vectorSearch()`` method to run Atlas Vector Search queries
207207on documents in your collections.
208208
209- You must pass the following parameters to the ``search ()`` method:
209+ You must pass the following parameters to the ``vectorSearch ()`` method:
210210
211211- ``index``: Name of the vector search index (type: ``string``)
212212- ``path``: Field that stores vector embeddings (type: ``array`` or ``string``)
@@ -226,7 +226,7 @@ The following code uses the index created in the preceding
226226 $movies = Book::vectorSearch(
227227 index: 'vector',
228228 path: 'vector_embeddings',
229- // Vector representation of the query " coming of age"
229+ // Vector representation of the query ` coming of age`
230230 queryVector: [-0.0016261312, -0.028070757, ...],
231231 limit: 3,
232232 );
You can’t perform that action at this time.
0 commit comments