BaseRagAnnotationResponse
extends BaseResponse
in package
Base class for all RAG document responses from the V2 API.
Table of Contents
Properties
- $createdAt : DateTimeImmutable
- $filename : string
- $id : string
- $status : string
Methods
- __construct() : mixed
- getRawHttp() : string
Properties
$createdAt
public
DateTimeImmutable
$createdAt
Date and time of the document creation.
$filename
public
string
$filename
Original filename of the uploaded document.
$id
public
string
$id
Unique identifier of the RAG document.
$status
public
string
$status
Current status of the RAG document.
Methods
__construct()
public
__construct(array<string, mixed> $rawResponse) : mixed
Parameters
- $rawResponse : array<string, mixed>
-
Raw server response array.
getRawHttp()
public
getRawHttp() : string
Return values
string —Raw dump of the JSON response.