llmage/models/llm_api_map.json

123 lines
2.8 KiB
JSON

{
"table_name": "llm_api_map",
"summary": [
{
"name": "llm_api_map",
"title": "模型API映射表",
"primary": [
"id"
],
"catelog": "relation"
}
],
"fields": [
{
"name": "id",
"type": "str",
"not_null": true,
"title": "主键ID",
"length": 32
},
{
"name": "llmid",
"type": "str",
"not_null": true,
"title": "模型ID",
"length": 32
},
{
"name": "llmcatelogid",
"type": "str",
"not_null": true,
"title": "模型分类ID",
"length": 32
},
{
"name": "apiname",
"type": "str",
"not_null": true,
"title": "接口名称",
"length": 100
},
{
"name": "query_apiname",
"type": "str",
"title": "任务结果查询接口名称",
"length": 100
},
{
"name": "query_period",
"type": "long",
"default": 30,
"title": "任务查询间隔(秒)"
},
{
"name": "ppid",
"type": "str",
"title": "定价ID",
"length": 32
},
{
"name": "isdefaultcatelog",
"type": "str",
"not_null": true,
"title": "缺省分类",
"length": 1
}
],
"indexes": [
{
"name": "idx_api_map_llmid",
"type": "normal",
"idxfields": [
"llmid"
],
"idxtype": "index"
},
{
"name": "idx_api_map_catelog",
"type": "normal",
"idxfields": [
"llmcatelogid"
],
"idxtype": "index"
},
{
"name": "idx_api_map_apiname",
"type": "normal",
"idxfields": [
"apiname"
],
"idxtype": "index"
},
{
"name": "uk_llmid_apiname",
"type": "unique",
"idxfields": [
"llmid",
"apiname"
],
"idxtype": "unique"
}
],
"codes": [
{
"field": "llmid",
"table": "llm",
"valuefield": "id",
"textfield": "name"
},
{
"field": "llmcatelogid",
"table": "llmcatelog",
"valuefield": "id",
"textfield": "name"
},
{
"field": "ppid",
"table": "pricing_program",
"valuefield": "id",
"textfield": "name"
}
]
}