BaseInference
in package
implements
Stringable
AbstractYes
Base for all inference-based V2 products.
Table of Contents
Interfaces
- Stringable
Properties
- $file : InferenceFile
- $id : string
- $job : InferenceJob
- $model : InferenceModel
Methods
- __construct() : mixed
- __toString() : string
Properties
$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.
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()
public
__toString() : string
Return values
string —String representation.