91 lines
2.0 KiB
JSON
91 lines
2.0 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "token_usgae",
|
|
"title": "token使用表",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "customerid",
|
|
"title": "客户id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "userid",
|
|
"title": "用户id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "callname",
|
|
"title": "调用名",
|
|
"type": "str",
|
|
"length": 100
|
|
},
|
|
{
|
|
"name": "modelinstanceid",
|
|
"title": "模型实例id",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "u_date",
|
|
"title": "使用日期",
|
|
"type": "date",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "u_time",
|
|
"title": "使用时间",
|
|
"type": "timestamp",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "input_usage",
|
|
"title": "输入token数",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "output_usage",
|
|
"title": "输出token数",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx1",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"userid"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx2",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"customerid",
|
|
"userid",
|
|
"modelinstanceid"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx3",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"customerid",
|
|
"modelinstanceid"
|
|
]
|
|
}
|
|
]
|
|
} |