InferenceParameters
in package
Parameters accepted by the asynchronous **inference** v2 endpoint.
Table of Contents
Properties
- $alias : string|null
- $closeFile : bool
- $modelId : string
- $pollingOptions : PollingOptions
- $rag : bool
- $webhooksIds : array<string|int, string>
Methods
- __construct() : mixed
Properties
$alias
public
string|null
$alias
Optional file alias.
$closeFile
public
bool
$closeFile
Whether to close the file after enqueuing.
$modelId
public
string
$modelId
Model ID.
$pollingOptions
public
PollingOptions
$pollingOptions
Polling options.
$rag
public
bool
$rag
Whether to enable Retrieval-Augmented Generation.
$webhooksIds
public
array<string|int, string>
$webhooksIds
Optional webhook IDs.
Methods
__construct()
public
__construct(string $modelId[, bool|null $rag = null ][, string|null $alias = null ][, array<string|int, string>|null $webhooksIds = null ][, PollingOptions|null $pollingOptions = null ][, bool|null $closeFile = null ]) : mixed
Parameters
- $modelId : string
-
ID of the model.
- $rag : bool|null = null
-
Whether to enable Retrieval-Augmented Generation.
- $alias : string|null = null
-
Optional file alias.
- $webhooksIds : array<string|int, string>|null = null
-
List of webhook IDs.
- $pollingOptions : PollingOptions|null = null
-
Polling options.
- $closeFile : bool|null = null
-
Whether to close the file after enqueuing.