ai module
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { MikroOrmModule } from '@mikro-orm/nestjs';
|
||||
import { JwtModule } from '@nestjs/jwt';
|
||||
import { AiController } from './controllers/ai.controller';
|
||||
import { AiService } from './providers/ai.service';
|
||||
import { AiChatRepository } from './repositories/ai-chat.repository';
|
||||
import { AiChat } from './entities/ai-chat.entity';
|
||||
import { RestaurantsModule } from '../restaurants/restaurants.module';
|
||||
|
||||
@Module({
|
||||
imports: [MikroOrmModule.forFeature([AiChat]), JwtModule, RestaurantsModule],
|
||||
controllers: [AiController],
|
||||
providers: [AiService, AiChatRepository],
|
||||
exports: [AiChatRepository],
|
||||
})
|
||||
export class AiModule {}
|
||||
Reference in New Issue
Block a user