import { IsOptional, IsString, MaxLength, MinLength } from 'class-validator'; export class VoiceCommandDto { @IsString() @MinLength(2) @MaxLength(800) text!: string; } export class AskMentoDto { @IsString() @MinLength(2) @MaxLength(500) question!: string; @IsOptional() @IsString() personId?: string; @IsOptional() @IsString() @MaxLength(4000) chatContext?: string; }