package com.xueyi.job.task;

import com.xueyi.message.api.transfer.feign.RemoteTransferService;
import com.xueyi.nlt.api.nlt.feign.RemoteIntentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 *
 * @author xueyi
 */
@Component("dmGenerativeKnowledgeTask")
public class DmGenerativeKnowledgeTask {
    @Autowired
    RemoteIntentService remoteIntentService;
    /**
     * 触发条件：* 0/1 * * * *
     * 每分钟执行一次
     */
    public void generativeKnowledge() {
        remoteIntentService.taskGenerativeKnowledge();
    }
}
