Merge branch 'main' into ai-vector

This commit is contained in:
Philipinho
2025-10-07 21:21:42 +01:00
72 changed files with 2090 additions and 291 deletions

View File

@ -214,6 +214,26 @@ export class EnvironmentService {
return this.configService.get<string>('POSTHOG_KEY');
}
getSearchDriver(): string {
return this.configService
.get<string>('SEARCH_DRIVER', 'database')
.toLowerCase();
}
getTypesenseUrl(): string {
return this.configService
.get<string>('TYPESENSE_URL', 'http://localhost:8108')
.toLowerCase();
}
getTypesenseApiKey(): string {
return this.configService.get<string>('TYPESENSE_API_KEY');
}
getTypesenseLocale(): string {
return this.configService.get<string>('TYPESENSE_LOCALE', 'en').toLowerCase();
}
getOpenAiApiKey(): string {
return this.configService.get<string>('OPENAI_API_KEY');
}