RagDocumentUploadParameters
extends BaseRagDocumentUploadParameters
in package
Upload parameters for RAG documents.
Tags
Table of Contents
Properties
- $modelId : string
- $responseClass : ExtractionRagAnnotationResponse>
Methods
- __construct() : mixed
- getRequestParameters() : array<string, string>
- Gets the request parameters for the upload request.
- getResponseClass() : TAnnotationResponse>
- Gets the response class associated with the parameters.
Properties
$modelId read-only
public
string
$modelId
$responseClass
protected
static ExtractionRagAnnotationResponse>
$responseClass
= \Mindee\V2\Product\Extraction\RagDocuments\ExtractionRagAnnotationResponse::class
Response class.
Methods
__construct()
public
__construct(string $modelId) : mixed
Parameters
- $modelId : string
-
UUID of the extraction model that the uploaded RAG document is linked to.
getRequestParameters()
Gets the request parameters for the upload request.
public
getRequestParameters() : array<string, string>
Return values
array<string, string> —Request parameters.
getResponseClass()
Gets the response class associated with the parameters.
public
getResponseClass() : TAnnotationResponse>
Return values
TAnnotationResponse> —Response class.