mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 21:41:09 +10:00
sync
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user