feat: 添加食物识别功能,支持根据图片URL识别食物并转换为饮食记录格式
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { Module, forwardRef } from '@nestjs/common';
|
||||
import { SequelizeModule } from '@nestjs/sequelize';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
import { AiCoachController } from './ai-coach.controller';
|
||||
@@ -14,11 +14,12 @@ import { DietRecordsModule } from '../diet-records/diet-records.module';
|
||||
imports: [
|
||||
ConfigModule,
|
||||
UsersModule,
|
||||
DietRecordsModule,
|
||||
forwardRef(() => DietRecordsModule),
|
||||
SequelizeModule.forFeature([AiConversation, AiMessage, PostureAssessment]),
|
||||
],
|
||||
controllers: [AiCoachController],
|
||||
providers: [AiCoachService, DietAnalysisService],
|
||||
exports: [DietAnalysisService],
|
||||
})
|
||||
export class AiCoachModule { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user