package tech.easyflow.ai.service;

import tech.easyflow.ai.dto.BotKnowledgeBindingRequest;
import tech.easyflow.ai.entity.BotDocumentCollection;
import com.mybatisflex.core.service.IService;

import java.math.BigInteger;
import java.util.List;

/**
 *  服务层。
 *
 * @author michael
 * @since 2024-08-28
 */
public interface BotDocumentCollectionService extends IService<BotDocumentCollection> {

    List<BotDocumentCollection> listByBotId(BigInteger botId);

    void saveBotAndKnowledge(BigInteger botId, List<BotKnowledgeBindingRequest> knowledgeBindings);
}
