package com.aiup.service.service;

import com.aiup.service.domain.openai.ChatRequest;
import com.aiup.service.domain.openai.ChatResponse;
import com.aiup.service.domain.query.GptChatQuery;
import org.springframework.stereotype.Service;

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