package tech.easyflow.ai.service;

import tech.easyflow.ai.entity.DocumentChunk;
import com.mybatisflex.core.service.IService;
import tech.easyflow.ai.entity.DocumentCollection;

import java.math.BigInteger;

/**
 *  服务层。
 *
 * @author michael
 * @since 2024-08-23
 */
public interface DocumentChunkService extends IService<DocumentChunk> {

    boolean removeChunk(DocumentCollection knowledge, BigInteger chunkId);
}
