Documentation

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

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.


        
On this page

Search results