package com.yutou.qqbot.http;

import com.alibaba.fastjson2.JSONObject;
import com.yutou.napcat.model.MessageBean;
import com.yutou.okhttp.HttpBody;
import com.yutou.qqbot.data.gpt.OpenAiBean;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface SiliconGPTApi {
    @POST("/chat/completions")
    Call<HttpBody<OpenAiBean>> completions(
            @Body
            JSONObject message
    );
}
