Documentation

RagMetadata
in package

Metadata about the RAG operation.

Table of Contents

Properties

$retrievedDocumentId  : string|null

Methods

__construct()  : mixed

Properties

$retrievedDocumentId

public string|null $retrievedDocumentId

ID of the matched document, if present.

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 response from the server.

On this page

Search results