package com.lideeyunji.tool.framework.ai.service;


import com.lideeyunji.tool.framework.ai.chat.ChatBaseRequest;
import com.lideeyunji.tool.framework.ai.chat.ChatBaseResponse;


public interface IChatService {

    //同步消息
    ChatBaseResponse chatCompletion(String baseUrl, String apiKey, ChatBaseRequest chatBaseRequest) throws Exception;
    ChatBaseResponse chatCompletion(ChatBaseRequest chatBaseRequest) throws Exception;

}
