package cn.com.poc.common.service;

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

import cn.com.gsst.dify_client.exception.DifyApiException;
import cn.com.poc.agent_application.entity.AgentResultEntity;

/**
 * @author alex.yao
 * @date 2026/1/13
 */
public interface DifyChatService {

    AgentResultEntity blockingChat(List<String> fileUrls,
                                     String question,
                                     Map<String, Object> data,
                                     String user,
                                     String apiKey);


    AgentResultEntity streamChat(List<String> fileUrls,
                                 String question,
                                 Map<String, Object> data,
                                 String user,
                                 String apiKey) throws IOException, DifyApiException, InterruptedException;
}

