doc: model schema document fix and wording about the model price parameter (#2944)

This commit is contained in:
orangeclk 2024-03-24 12:06:20 +08:00 committed by GitHub
parent c7d003d551
commit 6dc62334d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@
- `input` (float) Input price, i.e., Prompt price
- `output` (float) Output price, i.e., returned content price
- `unit` (float) Pricing unit, e.g., per 100K price is `0.000001`
- `unit` (float) Pricing unit, e.g., if the price is meausred in 1M tokens, the corresponding token amount for the unit price is `0.000001`.
- `currency` (string) Currency unit
### ProviderCredentialSchema

View File

@ -149,7 +149,7 @@
- `input` (float) 输入单价,即 Prompt 单价
- `output` (float) 输出单价,即返回内容单价
- `unit` (float) 价格单位,如:每 100K 的单价`0.000001`
- `unit` (float) 价格单位,如以 1M tokens 计价,则单价对应的单位 token 数`0.000001`
- `currency` (string) 货币单位
### ProviderCredentialSchema