import { StringDict } from "../../../../parsing/stringDict.js"; import { DataSchema } from "./dataSchema.js"; import { BaseProductParameters, BaseProductParametersConstructor } from "../../../clientOptions/baseProductParameters.js"; /** * Parameters for sending a file to an Extraction product. */ export declare class ExtractionParameters extends BaseProductParameters { /** * Use Retrieval-Augmented Generation during inference. */ rag?: boolean; /** * Extract the entire text from the document as strings, and fill the `rawText` attribute. */ rawText?: boolean; /** * Calculate bounding box polygons for values, and fill the `locations` attribute of fields. */ polygon?: boolean; /** * Calculate confidence scores for values, and fill the `confidence` attribute of fields. * Useful for automation. */ confidence?: boolean; /** * Additional text context used by the model during inference. * *Not recommended*, for specific use only. */ textContext?: string; /** * Dynamic changes to the data schema of the model for this inference. * Not recommended, for specific use only. */ dataSchema?: DataSchema | StringDict | string; constructor(params: BaseProductParametersConstructor & { rag?: boolean; rawText?: boolean; polygon?: boolean; confidence?: boolean; textContext?: string; dataSchema?: DataSchema | StringDict | string; }); getRequestParameters(): Record; }