package com.red.circle.other.inner.endpoint.ai.qian.api;

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

import java.util.List;

/**
 * 千帆AI数据统计.
 *
 * @author pengliang on 2023/11/16
 */
public interface AiQianFanChatClientApi {

    String API_PREFIX = "/qian-fan/chat";

    /**
     * 获取用户聊天历史记录
     */
    @GetMapping("/record")
    ResultResponse<List<ImmutableKeyValuePair<String, String>>> record(@RequestParam("userId") Long userId);

}
