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 KnowledgeConsumerService extends BaseService {


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

    /**
     * 训练状态更新
     */
    void trainStatusUpdate(KnowledgeTrainStatusMessage message) throws Exception;

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

}
