Skip to content

Commit 930cec8

Browse files
committed
wip
1 parent 00ded05 commit 930cec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/fundamentals/as-avs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ method as a query builder method and as an Eloquent model method. You
206206
can use the ``vectorSearch()`` method to run Atlas Vector Search queries
207207
on 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
);

0 commit comments

Comments
 (0)