QueuedEmbeddingsPrompt
class QueuedEmbeddingsPrompt implements Countable
Methods
__construct(array $inputs, int|null $dimensions, Provider|Lab|array|string|null $provider, string|null $model, int $timeout = 30, array $providerOptions = [])
Create a queued embeddings prompt.
bool
contains(string $string)
Determine if any of the inputs contain the given string.
int
count()
Get the number of inputs in the prompt.
Details
at line 24
__construct(array $inputs, int|null $dimensions, Provider|Lab|array|string|null $provider, string|null $model, int $timeout = 30, array $providerOptions = [])
Create a queued embeddings prompt.
at line 37
bool
contains(string $string)
Determine if any of the inputs contain the given string.
at line 45
int
count()
Get the number of inputs in the prompt.