Skip to content

Commit d708263

Browse files
apozeusnorkunas
andauthored
Update src/Contracts/SearchQuery.php
Co-authored-by: Tomas Norkūnas <[email protected]>
1 parent d30e5d7 commit d708263

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Contracts/SearchQuery.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,9 @@ public function setVector(array $vector): SearchQuery
242242
* This is an EXPERIMENTAL feature, which may break without a major version.
243243
*
244244
* Set hybrid search options
245-
* [
246-
* 'semanticRatio'=> 0.8,
247-
* 'embedder' => 'manual',
248-
* ];
245+
* (new HybridSearchOptions())
246+
* ->setSemanticRatio(0.8)
247+
* ->setEmbedder('manual');
249248
*/
250249
public function setHybrid(HybridSearchOptions $hybridOptions): SearchQuery
251250
{

0 commit comments

Comments
 (0)