targo-backend/src/chatbot/chatbot.module.ts

17 lines
470 B
TypeScript

import { Module } from '@nestjs/common';
import { ChatbotController } from 'src/chatbot/chatbot.controller';
import { HttpModule } from '@nestjs/axios';
import { ChatbotService } from 'src/chatbot/chatbot.service';
@Module({
imports: [
HttpModule.register({
timeout: 5 * 60 * 1000, // 5 minutes in milliseconds
})
],
controllers: [ChatbotController],
providers: [ChatbotService],
exports: [],
})
export class ChatbotModule { }