package cn.com.poc.ai_software_copyright.aggregate;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import cn.com.gsst.dify_client.exception.DifyApiException;
import cn.com.poc.ai_software_copyright.contant.AiSoftWareCopyRightEnum;
import cn.com.poc.ai_software_copyright.domian.BaseInfo;
import cn.com.poc.ai_software_copyright.domian.TechnicalContent;

/**
 * AI软著-聚合服务
 *
 * @author alex.yao
 * @date 2025/12/26
 */
public interface SoftwareCopyRightService {

    /**
     * 软著AI助手
     *
     * @param type     助手类型
     * @param fileUrls 文件地址
     * @param question 对话 内容
     * @param data     输入参数
     */
    void softwareCopyRightAssistant(
            AiSoftWareCopyRightEnum.AI_ASSISTANT_TYPE type,
            List<String> fileUrls,
            String question,
            Map<String, Object> data
    ) throws InterruptedException, DifyApiException, IOException;


    /**
     * AI-生成技术内容
     *
     * @param fileUrls
     * @param question
     * @param baseInfo
     * @return
     */
    TechnicalContent createTechnicalContent(List<String> fileUrls, BaseInfo baseInfo) throws IOException;
}
