Documentation

RagDocument
in package

Individual RAG document information.

Table of Contents

Properties

$createdAt  : DateTimeImmutable
$filename  : string
$id  : string
$lastMatchAt  : DateTimeImmutable|null
$modelId  : string
$status  : string
$totalMatches  : int

Methods

__construct()  : mixed

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.

$lastMatchAt

public DateTimeImmutable|null $lastMatchAt

Date and time of the latest matching inference, if any.

$modelId

public string $modelId

Model identifier linked to the RAG document.

$status

public string $status

Current status of the RAG document.

$totalMatches

public int $totalMatches

Number of times this document was used in an 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.

On this page

Search results