mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-12 18:11:34 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -28,4 +28,4 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.openai.com
|
||||
address: https://api.fireworks.ai
|
||||
@@ -29,4 +29,4 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.openai.com
|
||||
address: https://api.mistral.ai
|
||||
@@ -29,4 +29,4 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.openai.com
|
||||
address: https://api.novita.ai
|
||||
@@ -16,8 +16,6 @@ help:
|
||||
en_US: https://bailian.console.aliyun.com/?apiKey=1#/api-key
|
||||
supported_model_types:
|
||||
- llm
|
||||
- tts
|
||||
- text-embedding
|
||||
configurate_methods:
|
||||
- predefined-model
|
||||
- customizable-model
|
||||
@@ -31,21 +29,4 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
model_credential_schema:
|
||||
model:
|
||||
label:
|
||||
en_US: Model Name
|
||||
zh_Hans: 模型名称
|
||||
placeholder:
|
||||
en_US: Enter full model name
|
||||
zh_Hans: 输入模型全称
|
||||
credential_form_schemas:
|
||||
- variable: dashscope_api_key
|
||||
required: true
|
||||
label:
|
||||
en_US: API Key
|
||||
type: secret-input
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.openai.com
|
||||
address: https://dashscope.aliyuncs.com
|
||||
@@ -21,7 +21,7 @@ configurate_methods:
|
||||
- predefined-model
|
||||
provider_credential_schema:
|
||||
credential_form_schemas:
|
||||
- variable: api_key
|
||||
- variable: zhipuai_api_key
|
||||
label:
|
||||
en_US: APIKey
|
||||
type: secret-input
|
||||
@@ -29,4 +29,4 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 APIKey
|
||||
en_US: Enter your APIKey
|
||||
address: https://api.openai.com
|
||||
address: https://open.bigmodel.cn
|
||||
@@ -55,6 +55,26 @@ var dynamicResourceMap = map[string]Worker{
|
||||
Profession: ProfessionAIProvider,
|
||||
Driver: "moonshot",
|
||||
},
|
||||
"tongyi": {
|
||||
Profession: ProfessionAIProvider,
|
||||
Driver: "tongyi",
|
||||
},
|
||||
"zhipuai": {
|
||||
Profession: ProfessionAIProvider,
|
||||
Driver: "zhipuai",
|
||||
},
|
||||
"fireworks": {
|
||||
Profession: ProfessionAIProvider,
|
||||
Driver: "fireworks",
|
||||
},
|
||||
"novita": {
|
||||
Profession: ProfessionAIProvider,
|
||||
Driver: "novita",
|
||||
},
|
||||
"mistralai": {
|
||||
Profession: ProfessionAIProvider,
|
||||
Driver: "mistralai",
|
||||
},
|
||||
}
|
||||
|
||||
type Worker struct {
|
||||
|
||||
Reference in New Issue
Block a user