VectorSearch
in package
implements
JsonSerializable
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $options : VectorSearchOptions|null
- $vectorQueries : array<string|int, mixed>
- __construct() : mixed
- build() : VectorSearch
- Static helper to keep code more readable.
Properties
$options
private
VectorSearchOptions|null
$options
$vectorQueries
private
array<string|int, mixed>
$vectorQueries
Methods
__construct()
public
__construct(array<string|int, VectorQuery> $vectorQueries[, VectorSearchOptions|null $options = null ]) : mixed
Parameters
- $vectorQueries : array<string|int, VectorQuery>
-
The vector queries to be run.
- $options : VectorSearchOptions|null = null
-
The options to use on the vector queries
Tags
Return values
mixed —build()
Static helper to keep code more readable.
public
static build(array<string|int, VectorQuery> $vectorQueries[, VectorSearchOptions|null $options = null ]) : VectorSearch
Parameters
- $vectorQueries : array<string|int, VectorQuery>
-
The vector queries to be run
- $options : VectorSearchOptions|null = null
-
The options to use on the vector queries