This commit is contained in:
yumoqing 2026-05-06 10:45:02 +08:00
parent 6220e8546a
commit 9815fd1ac8

View File

@ -408,3 +408,36 @@ d = {
"response": # 后台返回信息有状态错误信息或videod url "response": # 后台返回信息有状态错误信息或videod url
} }
} }
## 测试定价项目
* path /pricing/test_pricing_program.dspy
* method POST
* params
* data
```
{
"ppid": #定价项目id
"data": # 模型返回的usage的字典数据
}
return
计价成功
```
{
"status": "ok",
"data": {
"ppid": ppid,
"data": data,
"result": x
}
}
```
```
{
"status": "error",
"data": {
"message": # 错误信息
}
}
```