package com.bifan.txtreaderlib.interfaces;

import com.bifan.txtreaderlib.bean.ChatRequest;
import com.bifan.txtreaderlib.bean.ChatResponse;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface ChatGPTService {
    @Headers("Authorization: Bearer sk-uucSf3pIkBZSYHzQ6028C9FcCe4e4d61B457497b4d72C894")
    @POST("v1/chat/completions")
    Call<ChatResponse> postMessage(@Body ChatRequest request);
}
