mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 20:01:10 +10:00
refactor naming
This commit is contained in:
@ -225,4 +225,12 @@ export class EnvironmentService {
|
||||
getOpenAiModel(): string {
|
||||
return this.configService.get<string>('OPENAI_MODEL');
|
||||
}
|
||||
|
||||
isAIEnabled(): string {
|
||||
return this.configService.get<string>('ENABLE_AI');
|
||||
}
|
||||
|
||||
isAIVectorSearchEnabled(): string {
|
||||
return this.configService.get<string>('AI_VECTOR_SEARCH');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user