import { IsArray, IsString, IsOptional } from "class-validator";
export class EmbedRequestDto {
  @IsString() model!: string;
  @IsArray() @IsString({ each: true }) input!: string[];
  @IsOptional() @IsString() truncate?: "start" | "end" | "none";
}
export interface EmbedResponseDto {
  model: string;
  embeddings: number[][];
  totalDuration?: number;
}
