import type * as Extend from "../../../../index"; /** * @example * { * name: "Document Classifier", * config: { * classifications: [{ * id: "invoice", * type: "invoice", * description: "An invoice or bill for goods or services" * }, { * id: "receipt", * type: "receipt", * description: "A receipt confirming payment" * }, { * id: "other", * type: "other", * description: "Any other document type" * }] * } * } */ export interface ClassifiersCreateRequest { /** The name of the classifier. */ name: string; /** * The ID of an existing classifier to clone. If provided, the new classifier will be created with the same config as the classifier with this ID. Cannot be provided together with `config`. * * Example: `"cl_BMdfq_yWM3sT-ZzvCnA3f"` */ cloneClassifierId?: string; /** The configuration for the classifier. Cannot be provided together with `cloneClassifierId`. */ config?: Extend.ClassifyConfig; }