/* eslint-disable */ /* Code generated by ng-openapi-gen DO NOT EDIT. */ import { Position } from '../models/position'; /** * Platform fields read from text, each kept with the text it was read from. * * `auto` asks the LLM when one is configured and answering, else applies `patterns`; * with neither, the row is held. Patterns are regexes with one group, per field (the * LLM can propose them from sample documents); their values go through the ConceptMap * and `formats` as in `map`. */ export interface Extract { column: (string | Array); /** * Dato → columna, sin leer el texto. */ columns?: { [key: string]: string; }; concept_map?: (string | null); /** * Qué estudio se saca del documento. */ entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg'; formats?: { [key: string]: string; }; /** * Para el modelo de lenguaje. */ hints?: string; id: string; inputs?: Array; kind?: 'extract'; /** * Cómo se ve en el diagrama. */ label?: string; method?: 'auto' | 'llm' | 'patterns'; /** * Dato → expresión con un grupo ( ). */ patterns?: { [key: string]: string; }; position?: (Position | null); }