⁉️其他问题

Q:为什么我无法调用 Claude 系列模型

A:由于 Claude 系列模型调用格式不同 为了不出现其他问题导致GPT模型异常 我们选择不提供兼容层 需要自行兼容

Q:Claude 系列模型的调用格式是什么 我应该如何调用

A:请参考如下调用示例

{
    "prompt": "\n\nHuman: 今天天气不错\\n\\nAssistant:",
    "max_tokens_to_sample": 3000,
    "model": "claude-2",
    "stream": true
}

Q: 为什么余额查询无法调用

A: 我们为了减缓数据库压力 避免宕机 调整了查询格式

接口1 查询余额

curl --location --request GET 'https://api.nekoai.top/v1/dashboard/billing/subscription'
--header 'Authorization: Bearer sk-'
--header 'Content-Type: application/json' \

返回值 前者是用量 后者是总余额 {"total_usage":13529.52923076,"max_limit_uds":13801.25}

接口2 查询用量

curl --location 'https://api.nekoai.top/v1/dashboard/usageList?startTime=1691504700000&endTime=1691505000000&pages=0&index=10'
--header 'Authorization: Bearer sk-'
--header 'Content-Type: application/json

参数一:开始时间 参数二:结束时间 参数三:第几页 参数四:页多少条

返回格式为

{ "id": 433498831241481, "keyId": 418170943578368, "prompt": 29910, "completion": 2415, "tokens": 32325, "request": 12, "modelName": "gpt-4-0314", "createTime": 1691504700000 }

Q: 关于退款详情

A: 除正价转发API与Plus外 其余商品均为盲盒类商品 "盲盒类商品付款后即完成在线拆盒,依据《消费者权益保护法》第二十五条(三),不适用无理由退货”,消费者购买即视为“确认并已阅读且同意上述信息" 并在尽可能的范围内提供常规售后请求 不支持没有任何合理理由的退款请求(包括但不限于程序无法使用/不兼容)

Last updated