mirror of
https://github.com/docmost/docmost.git
synced 2025-11-20 20:41:11 +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');
|
return this.configService.get<string>('OPENAI_API_URL');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getOpenAiEmbeddingModel(): string {
|
||||||
|
return this.configService.get<string>(
|
||||||
|
'OPENAI_EMBEDDING_MODEL',
|
||||||
|
'text-embedding-3-small',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
getOpenAiModel(): string {
|
getOpenAiModel(): string {
|
||||||
return this.configService.get<string>('OPENAI_MODEL');
|
return this.configService.get<string>('OPENAI_MODEL');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user