HybridSearchOptions
Table of Contents
Properties
-
$embedder
: non-empty-string|null
-
$semanticRatio
: float|null
Methods
-
setEmbedder()
: $this
-
setSemanticRatio()
: $this
-
toArray()
: array{semanticRatio?: float, embedder?: non-empty-string}
$embedder
private
non-empty-string|null
$embedder
= null
$semanticRatio
private
float|null
$semanticRatio
= null
setEmbedder()
public
setEmbedder(non-empty-string $embedder) : $this
Parameters
-
$embedder
: non-empty-string
-
setSemanticRatio()
public
setSemanticRatio(float $ratio) : $this
Parameters
-
$ratio
: float
-
toArray()
public
toArray() : array{semanticRatio?: float, embedder?: non-empty-string}
Return values
array{semanticRatio?: float, embedder?: non-empty-string}