This commit is contained in:
Philipinho
2025-09-30 12:07:27 +01:00
parent b468d63512
commit eda75d6818
2 changed files with 8 additions and 1 deletions

View File

@ -222,6 +222,13 @@ export class EnvironmentService {
return this.configService.get<string>('OPENAI_API_URL');
}
getOpenAiEmbeddingModel(): string {
return this.configService.get<string>(
'OPENAI_EMBEDDING_MODEL',
'text-embedding-3-small',
);
}
getOpenAiModel(): string {
return this.configService.get<string>('OPENAI_MODEL');
}