This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/requests.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. requests

Types grouped under requests in the API reference. Import them from the Nutrient namespace.

using Nutrient;

Classes

ClassDescription
ClassificationRequestDescribes a zero-shot classification request for Classify: the candidate labels the document is scored against. Each label optionally carries a longer description that gives the matcher more context; the description never appears in the result. At least two labels are required — classification is zero-shot, so the labels define the entire output space, and a single label would trivially win with probability 1.
SchemaGenerationRequestDescribes a schema generation request for GenerateSchema. Carries the document type the schema must represent, an optional free-form requirement, and up to five example documents that ground the schema in real layouts.
StructuredExtractionRequestDescribes a structured data extraction request for ExtractStructured. Carries a schema envelope — {"schema": <JSON Schema>} — describing the fields the extracted data must conform to, and optional free-form instructions that steer the extraction.