import { Module } from "@nestjs/common";
import { BrainController } from "./brain.controller";
import { BrainService } from "./brain.service";
import { IntentClassificationService } from "./intent-classification.service";
import { PrismaModule } from "../prisma/prisma.module";
import { AuthModule } from "../auth/auth.module";
import { LlmModule } from "../llm/llm.module";

/**
 * Brain module
 * Provides unified query interface for agents to access workspace data
 */
@Module({
  imports: [PrismaModule, AuthModule, LlmModule],
  controllers: [BrainController],
  providers: [BrainService, IntentClassificationService],
  exports: [BrainService, IntentClassificationService],
})
export class BrainModule {}
