Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

935 B
Raw Blame
import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'

import { ProjectModule } from '../project/project.module'
import { AppLoggerModule } from '../logger/logger.module'
import { AnalyticsModule } from '../analytics/analytics.module'
import { GoalModule } from '../goal/goal.module'
import { FeatureFlagModule } from '../feature-flag/feature-flag.module'
import { ExperimentModule } from '../experiment/experiment.module'
import { AiService } from './ai.service'
import { AiChatService } from './ai-chat.service'
import { AiController } from './ai.controller'
import { AiChat } from './entity/ai-chat.entity'

@Module({
  imports: [
    TypeOrmModule.forFeature([AiChat]),
    ProjectModule,
    AppLoggerModule,
    AnalyticsModule,
    GoalModule,
    FeatureFlagModule,
    ExperimentModule,
  ],
  providers: [AiService, AiChatService],
  controllers: [AiController],
})
export class AiModule {}