文档

价格抽取

更新时间:

调用须知

  • 该服务为行业版的能力,需要开通行业版才能免费调用。点击这里确认开通状态:开通服务

  • 开通服务后可购买资源包进行调用:资源包购买

  • 支持语言:中文

  • 支持行业:电商行业

请求参数

名称

示例值

位置

类型

是否必

描述

Action

GetPriceChEcom

body

string

固定值,不要省略

ServiceCode

alinlp

body

string

固定值,不要省略

Text

一张大厂货美式儿童床303 板木结合,质量非常好 全新包装。尺寸1.2*2米 最后7张¥560一张

body

string

中文电商商品标题

最大长度不超过800字

返回数据

参数名

示例值

参数描述

tracerId

b298f25928ce185eb39a16b4f61c5975

唯一请求id,排查问题的依据

data

[
  {
    "span": "¥560一张",
    "label": "NP",
    "score": 0.9994
  }
]

span:抽取的价格结果

label:规格

score:置信度

调用接入

  1. 代码接入请参考:快速入门

  2. 在线快速试用请参考:在线试用

错误码

HttpCode

错误码

错误信息

描述

403

Forbidden.NoAuth

Failed to perform user authentication.

用户鉴权失败

411

FrameworkApiError

Framework API error.

框架API错误

410

FrameworkError

Framework internal server error.

框架错误

412

FrameworkFormatError

Framework request format error.

框架请求格式错误

413

FrameworkReturnError

Framework return type format error.

框架返回格式错误

406

TextCodingError

An encoding error occurred to the input text.

输入文本编码错误

405

TextLimitExceeded

The maximum length of the text is exceeded.

文本长度超过限制

429

Throttling.User

Flow control has been triggered.

触发流控

400

UserStatusInvalid

The user status is invalid.

用户状态无效,未开通服务

500

InternalError

A service error occurred.

服务内部异常

401

InvalidParameter

The parameter is invalid.

参数无效

  • 本页导读 (0)
文档反馈