ExtractionInference
extends BaseInference
in package
ExtractionInference class.
Table of Contents
Properties
- $activeOptions : InferenceActiveOptions
- $file : InferenceFile
- $id : string
- $job : InferenceJob
- $model : InferenceModel
- $result : ExtractionResult
Methods
- __construct() : mixed
- __toString() : string
- A prettier representation.
Properties
$activeOptions
public
InferenceActiveOptions
$activeOptions
Active options for the inference.
$file
public
InferenceFile
$file
File used for the inference.
$id
public
string
$id
ID of the inference.
$job
public
InferenceJob
$job
Job the inference belongs to.
$model
public
InferenceModel
$model
Model used for inference.
$result
public
ExtractionResult
$result
Result of the inference.
Methods
__construct()
public
__construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawResponse) : mixed
Parameters
- $rawResponse : array<string, int|float|string|bool|null|array<string|int, mixed>>
-
Raw server response array.
__toString()
A prettier representation.
public
__toString() : string
Return values
string —String representation.