mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 20:01:10 +10:00
feat embeddings sync
This commit is contained in:
@ -293,7 +293,10 @@ export class EnvironmentService {
|
||||
return this.configService.get<string>('ENABLE_AI');
|
||||
}
|
||||
|
||||
isAIVectorSearchEnabled(): string {
|
||||
return this.configService.get<string>('AI_VECTOR_SEARCH');
|
||||
isAISearchEnabled(): boolean {
|
||||
const config = this.configService
|
||||
.get<string>('AI_SEARCH', 'false')
|
||||
.toLowerCase();
|
||||
return config === 'true';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user