import { Module } from '@nestjs/common'
import { KnowledgeBaseController } from './knowledge-base.controller'
import { KnowledgeBaseService } from './knowledge-base.service'
import { TypeOrmModule } from '@nestjs/typeorm'
import { KnowledgeBase } from './entities/knowledge-base.entity'
import { KnowledgeEmbedding } from './entities/knowledge-embedding.entity'
import { KnowledgeFile } from './entities/knowledge-file.entity'
import { FileModule } from 'src/file/file.module'

@Module({
    imports: [TypeOrmModule.forFeature([KnowledgeBase, KnowledgeFile]), FileModule],
    controllers: [KnowledgeBaseController],
    providers: [KnowledgeBaseService],
    exports: [KnowledgeBaseService]
})
export class KnowledgeBaseModule {}
