We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3be0e commit e36474fCopy full SHA for e36474f
src/Contracts/HybridSearchOptions.php
@@ -7,6 +7,10 @@
7
class HybridSearchOptions
8
{
9
private ?float $semanticRatio = null;
10
+
11
+ /**
12
+ * @var non-empty-string|null
13
+ */
14
private ?string $embedder = null;
15
16
public function setSemanticRatio(float $ratio): HybridSearchOptions
@@ -26,6 +30,12 @@ public function setEmbedder(string $embedder): HybridSearchOptions
26
30
return $this;
27
31
}
28
32
33
34
+ * @return array{
35
+ * semanticRatio?: float,
36
+ * embedder?: non-empty-string
37
+ * }
38
29
39
public function toArray(): array
40
41
return array_filter([
0 commit comments