Files
aeroresolve_backend/src/modules/chat/chat.module.ts
T

16 lines
594 B
TypeScript

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ChatConversation } from './entities/chat-conversation.entity';
import { ChatMessage } from './entities/chat-message.entity';
import { ChatService } from './chat.service';
import { ChatController } from './chat.controller';
import { LlmService } from './llm/llm.service';
@Module({
imports: [TypeOrmModule.forFeature([ChatConversation, ChatMessage])],
controllers: [ChatController],
providers: [ChatService, LlmService],
exports: [ChatService, LlmService],
})
export class ChatModule {}