package com.aiup.chatgptserver.service;

import com.aiup.chatgptserver.service.openai.ChatResponse;
import org.springframework.stereotype.Service;

@Service
public interface OpenAiService {
    /**
     * ChatGPT聊天
     * @param query
     * @return
     */
    ChatResponse chat(GptChatQuery query) throws Exception;
}
