Skip to content

models api

通过提供restful接口,给第三方平台接入maas平台的能力。

快速开始

  • Base URLs

http://{ip:端口}/api/v1/score 或者https://{域名}/api/v1/score

  • 请求参数
名称位置类型必选说明
AuthorizationheaderstringBearer
Content-Typeheaderstringapplication/json
bodybodystring参考标准的OpenAI接口规范

API Key : 在用户中心的访问令牌页面中获取,你也可以创建多个 Api Key 以运用到不同业务系统中。

令牌获取

bge-reranker-v2-m3

  • 接口示例
json
{
  "model": "bge-reranker-v2-m3", 
  "text_1": "What is the capital of France?", 
  "text_2": ["paris", "Berlin", "Madrid", "BeiJing", "ShangHai", "LanZhou", "Paris"],
}

最后更新于: