RedactOptions<Detect>: {
    contextWindowSize?: number;
    detect?: Detect;
    entities?: ValidEntities<Detect>;
    replace?: ((entity: ValidEntities<Detect>[number]) => string | undefined);
}

Type Parameters

  • Detect