ExtractionResponse
extends BaseResponse
in package
Inference response class for V2.
Table of Contents
Properties
- $inference : ExtractionInference
- $slug : string
Methods
- __construct() : mixed
- getRawHttp() : string
Properties
$inference
public
ExtractionInference
$inference
Inference result.
$slug
public
static string
$slug
= "extraction"
Slug for 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.
getRawHttp()
public
getRawHttp() : string
Return values
string —Raw dump of the JSON response.