package com.red.circle.external.inner.endpoint.aichat.minimax.api;

import com.red.circle.framework.dto.ResultResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * MiniMax 服务api.
 *
 * @author pengliang on 2023/10/15
 */
public interface MiniMaxClientApi {

    String API_PREFIX = "/minimax/client";

    /**
     * 文本生成
     */
    @GetMapping("/chat")
    ResultResponse<Map<String, String>> chat(@RequestParam("message") String message,
                                             @RequestParam("voiceId") String voiceId,
                                             @RequestParam("userId") Long userId);
}
