ClassificationResponse
extends BaseResponse
in package
Classification response.
Table of Contents
Properties
- $inference : ClassificationInference
- $slug : string
Methods
- __construct() : mixed
- getRawHttp() : string
Properties
$inference
public
ClassificationInference
$inference
Inference results for the classification.
$slug
public
static string
$slug
= "classification"
Slug for the inference.
Methods
__construct()
public
__construct(array<string|int, mixed> $rawResponse) : mixed
Parameters
- $rawResponse : array<string|int, mixed>
-
Raw server response array.
getRawHttp()
public
getRawHttp() : string
Return values
string —Raw dump of the JSON response.