package com.emoon.openplatform.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.emoon.openplatform.domain.RagDo;
import com.emoon.openplatform.domain.bo.RagBo;
import com.emoon.openplatform.domain.dto.SchemaMessageDTO;
import com.emoon.openplatform.domain.dto.request.SchemaRequest;

import java.util.List;

/**
 * @author destiny
 * @description:
 * @date 2025/10/10 22:31
 */
@DS("open")
public interface IRagService {

    /**
     * 获取知识库信息
     *
     * @param schemaRequest
     * @return
     */
    SchemaMessageDTO getSchema(SchemaRequest schemaRequest);

    List<RagDo> search(RagBo bo);
}
