import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Request parameters for text classification. The model will analyze the text and assign it to one of the provided labels. */ export type ClassificationRequest = { /** * ID of the model to use for classification. You can use provider:model format or just the model name with a default provider. */ model: string; /** * The text content to classify. Must not be empty. */ text: string; /** * Array of possible classification labels. Must contain at least 2 labels. The model will choose one of these labels to assign to the text. */ labels: Array; /** * Optional custom system prompt to guide the classification. Use this to provide additional context or instructions to the model about how to perform the classification. */ prompt?: string | undefined; }; /** @internal */ export declare const ClassificationRequest$inboundSchema: z.ZodType; /** @internal */ export type ClassificationRequest$Outbound = { model: string; text: string; labels: Array; prompt?: string | undefined; }; /** @internal */ export declare const ClassificationRequest$outboundSchema: z.ZodType; export declare function classificationRequestToJSON(classificationRequest: ClassificationRequest): string; export declare function classificationRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=classificationrequest.d.ts.map