mirror of
https://github.com/docmost/docmost.git
synced 2025-11-19 07:12:36 +10:00
sync
This commit is contained in:
Submodule apps/server/src/ee updated: 66540fd522...714a0484c5
@ -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