template-saas/apps/backend/dist/modules/ai/dto/config.dto.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

47 lines
1.1 KiB
TypeScript

import { AIProvider } from '../entities';
export declare class UpdateAIConfigDto {
provider?: AIProvider;
default_model?: string;
fallback_model?: string;
temperature?: number;
max_tokens?: number;
system_prompt?: string;
is_enabled?: boolean;
allow_custom_prompts?: boolean;
log_conversations?: boolean;
settings?: Record<string, any>;
}
export declare class AIConfigResponseDto {
id: string;
tenant_id: string;
provider: AIProvider;
default_model: string;
fallback_model?: string;
temperature: number;
max_tokens: number;
system_prompt?: string;
is_enabled: boolean;
allow_custom_prompts: boolean;
log_conversations: boolean;
created_at: Date;
updated_at: Date;
}
export declare class UsageStatsDto {
request_count: number;
total_input_tokens: number;
total_output_tokens: number;
total_tokens: number;
total_cost: number;
avg_latency_ms: number;
}
export declare class AIModelDto {
id: string;
name: string;
provider: string;
context_length: number;
pricing: {
prompt: number;
completion: number;
};
}