Skip to content

ExtractWithSchemaLlmExtractRequestBody

The extraction request parameters

Example Usage

typescript
import { ExtractWithSchemaLlmExtractRequestBody } from "@meetkai/mka1/models/operations";

let value: ExtractWithSchemaLlmExtractRequestBody = {
  model: "Civic",
  file: "<value>",
};

Fields

FieldTypeRequiredDescription
modelstring✔️ID of the model to use for extraction. You can use provider:model format or just the model name with a default provider. Vision-capable models are recommended for processing images and PDFs.
filestring✔️The file to extract structured data from. Supports various formats including images and documents. The file content will be analyzed by the model according to the referenced extraction schema.
promptstringOptional custom system prompt to guide the extraction process. Use this to provide specific instructions about how to interpret the file or handle edge cases.