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.gsst.dify_client.model.chat.ChatMessageResponse;

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

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


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

