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
Before you can perform Atlas Vector Search queries, you must create an
50
-
Atlas Vector Search index on your collection. To learn more about
49
+
Before you can perform {+avs+} queries, you must create an
50
+
{+avs+} index on your collection. To learn more about
51
51
creating this index, see the :ref:`ruby-atlas-search-index` guide.
52
52
53
53
Vector Search Aggregation Stage
@@ -101,9 +101,9 @@ tutorial in the Atlas documentation.
101
101
Basic Vector Search Query
102
102
~~~~~~~~~~~~~~~~~~~~~~~~~
103
103
104
-
The following code performs an Atlas Vector Search query on the
105
-
``plot_embedding`` vector field by using a query vector that represents
106
-
the term *time travel*:
104
+
The following code performs an {+avs+} query on the
105
+
``plot_embedding`` vector field by using a query vector that is a vector
106
+
embedding of the phrase "time travel":
107
107
108
108
.. io-code-block::
109
109
:copyable: true
@@ -115,7 +115,7 @@ the term *time travel*:
115
115
:end-before: end-basic-query
116
116
117
117
.. output::
118
-
:language: json
118
+
:language: none
119
119
:visible: false
120
120
121
121
{"plot"=>"A reporter, learning of time travelers visiting 20th century disasters, tries to change the history they know by averting upcoming disasters.", "title"=>"Thrill Seekers"}
@@ -142,7 +142,7 @@ field, which describes how well the document matches the query vector:
0 commit comments