feat: add AI enrichment service with Claude Haiku and rule-based fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 09:04:45 +05:30
parent 30df1d0158
commit 702afabfa7
2 changed files with 10 additions and 0 deletions

8
src/ai/ai.module.ts Normal file
View File

@@ -0,0 +1,8 @@
import { Module } from '@nestjs/common';
import { AiEnrichmentService } from './ai-enrichment.service';
@Module({
providers: [AiEnrichmentService],
exports: [AiEnrichmentService],
})
export class AiModule {}

View File

@@ -1,6 +1,7 @@
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import configuration from './config/configuration';
import { AiModule } from './ai/ai.module';
import { PlatformModule } from './platform/platform.module';
import { ExotelModule } from './exotel/exotel.module';
@@ -10,6 +11,7 @@ import { ExotelModule } from './exotel/exotel.module';
load: [configuration],
isGlobal: true,
}),
AiModule,
PlatformModule,
ExotelModule,
],