File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
includes/fundamentals/as-avs Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ You must pass the following parameters to the ``vectorSearch()`` method:
8181 - Name of the vector search index
8282
8383 * - ``path``
84- - ``array`` or `` string``
84+ - ``string``
8585 - Field that stores vector embeddings
8686
8787 * - ``queryVector``
Original file line number Diff line number Diff line change @@ -116,8 +116,7 @@ public function testSimpleSearch(): void
116116 public function autocompleteSearchTest (): void
117117 {
118118 // start-auto-query
119- $ movies = Movie::autocomplete ('title ' , 'jak ' )
120- ->get ();
119+ $ movies = Movie::autocomplete ('title ' , 'jak ' )->get ();
121120 // end-auto-query
122121
123122 $ this ->assertNotNull ($ movies );
@@ -145,8 +144,7 @@ public function vectorSearchTest(): void
145144 $ this ->assertSame ('C ' , $ results ->first ()->title );
146145 }
147146
148- /** Generates random vectors using fixed seed to make tests
149- * deterministic */
147+ /** Generates random vectors using fixed seed to make tests deterministic */
150148 private function addVector (array $ items ): array
151149 {
152150 srand (1 );
You can’t perform that action at this time.
0 commit comments