Documentation

RAGExtra
in package

Contains information on the Retrieval-Augmented-Generation of a prediction.

Table of Contents

Properties

$matchingDocumentId  : string|null

Methods

__construct()  : mixed
__toString()  : string

Properties

$matchingDocumentId

public string|null $matchingDocumentId

The document ID of the matching document.

Methods

__construct()

public __construct(array<string|int, mixed> $rawPrediction) : mixed
Parameters
$rawPrediction : array<string|int, mixed>

Raw prediction array.

__toString()

public __toString() : string
Return values
string

String representation.


        
On this page

Search results