feat: add supported_model_types field and filter in provider list (#1581)
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
"quota_limit": 0
|
||||
},
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation"
|
||||
],
|
||||
"price_config": {
|
||||
"claude-instant-1": {
|
||||
"prompt": "1.63",
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "configurable",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
],
|
||||
"price_config":{
|
||||
"gpt-4": {
|
||||
"prompt": "0.03",
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation"
|
||||
],
|
||||
"price_config": {
|
||||
"baichuan2-53b": {
|
||||
"prompt": "0.01",
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "fixed"
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation"
|
||||
]
|
||||
}
|
||||
@@ -3,5 +3,8 @@
|
||||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "fixed"
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"reranking"
|
||||
]
|
||||
}
|
||||
@@ -3,5 +3,9 @@
|
||||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "configurable"
|
||||
"model_flexibility": "configurable",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
]
|
||||
}
|
||||
@@ -3,5 +3,9 @@
|
||||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "configurable"
|
||||
"model_flexibility": "configurable",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
]
|
||||
}
|
||||
@@ -10,6 +10,10 @@
|
||||
"quota_unit": "tokens"
|
||||
},
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
],
|
||||
"price_config": {
|
||||
"abab5.5-chat": {
|
||||
"prompt": "0.015",
|
||||
|
||||
@@ -11,6 +11,12 @@
|
||||
"quota_limit": 200
|
||||
},
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings",
|
||||
"speech2text",
|
||||
"moderation"
|
||||
],
|
||||
"price_config": {
|
||||
"gpt-4": {
|
||||
"prompt": "0.03",
|
||||
|
||||
@@ -3,5 +3,9 @@
|
||||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "configurable"
|
||||
"model_flexibility": "configurable",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
]
|
||||
}
|
||||
@@ -3,5 +3,9 @@
|
||||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "configurable"
|
||||
"model_flexibility": "configurable",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
]
|
||||
}
|
||||
@@ -10,6 +10,9 @@
|
||||
"quota_unit": "tokens"
|
||||
},
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation"
|
||||
],
|
||||
"price_config": {
|
||||
"spark": {
|
||||
"prompt": "0.18",
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation"
|
||||
],
|
||||
"price_config": {
|
||||
"qwen-turbo": {
|
||||
"prompt": "0.012",
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation"
|
||||
],
|
||||
"price_config": {
|
||||
"ernie-bot-4": {
|
||||
"prompt": "0",
|
||||
|
||||
@@ -3,5 +3,9 @@
|
||||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "configurable"
|
||||
"model_flexibility": "configurable",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
]
|
||||
}
|
||||
@@ -10,6 +10,10 @@
|
||||
"quota_unit": "tokens"
|
||||
},
|
||||
"model_flexibility": "fixed",
|
||||
"supported_model_types": [
|
||||
"text-generation",
|
||||
"embeddings"
|
||||
],
|
||||
"price_config": {
|
||||
"chatglm_turbo": {
|
||||
"prompt": "0.005",
|
||||
|
||||
Reference in New Issue
Block a user