package cn.com.poc.message.service;

import cn.com.poc.message.entity.KnowledgeTrainStatusMessage;
import cn.com.poc.message.entity.TrainKnowledgeMessage;
import cn.com.yict.framemax.core.service.BaseService;

public interface KnowledgeProducerService extends BaseService {


    /**
     * 训练知识库
     *
     * @param message
     * @return
     */
    TrainKnowledgeMessage trainKnowledge(TrainKnowledgeMessage message);


    /**
     * 更新训练状态
     */
    KnowledgeTrainStatusMessage trainStatusUpdate(KnowledgeTrainStatusMessage knowledgeTrainStatusMessage);


    /**
     * 检查知识库信息状态改变
     */
    KnowledgeTrainStatusMessage knowledgeInfoStatusCheck(KnowledgeTrainStatusMessage knowledgeTrainStatusMessage);

}
