InferenceActiveOptions
in package
Options which were activated during the inference.
Options can be activated or deactivated:
- By setting their default values on the Platform UI
- By explicitly setting them in the inference request
Table of Contents
Properties
- $confidence : bool
- $polygon : bool
- $rag : bool
- $rawText : bool
Methods
- __construct() : mixed
- __toString() : string
Properties
$confidence
public
bool
$confidence
Whether the confidence feature was activated.
$polygon
public
bool
$polygon
Whether the polygon feature was activated.
$rag
public
bool
$rag
Whether the Retrieval-Augmented Generation feature was activated.
$rawText
public
bool
$rawText
Whether the Raw Text feature was activated.
Methods
__construct()
public
__construct(array<string|int, mixed> $serverResponse) : mixed
Parameters
- $serverResponse : array<string|int, mixed>
-
Raw server response array.
__toString()
public
__toString() : string
Return values
string —String representation.