Mengambil detail templat penyedia model.
Deskripsi operasi
Anda dapat mengambil detail templat penyedia model tertentu di WUYING Agent Management Center, termasuk nama penyedia, deskripsi, dan daftar konfigurasi koneksi.
Sebelum memanggil operasi ini, pastikan Anda telah memahami cara kerja dan penggunaan WUYING Agent Management Center.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProviderTemplateId |
string |
Yes |
ID templat penyedia model. |
mpt-xxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Respons. |
||
| Data |
object |
Objek data yang dikembalikan. |
|
| ProviderTemplateId |
string |
ID templat penyedia model. |
mpt-xxxx |
| ProviderName |
string |
Nama penyedia model. |
bailian |
| Name |
string |
Nama templat penyedia model. |
阿里云百炼。 |
| Description |
string |
Deskripsi templat penyedia model. |
阿里云百炼服务商。 |
| Config |
string |
Objek konfigurasi JSON templat penyedia model. |
{ "api": "openai-completions", "apiKey": "sk-xxxx", "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1" } |
| EnableWuyingProxy |
boolean |
Menunjukkan apakah proxy gerbang aman WUYING diaktifkan. Valid values:
|
true |
| RequestId |
string |
ID permintaan. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Contoh
Respons sukses
JSONformat
{
"Data": {
"ProviderTemplateId": "mpt-xxxx",
"ProviderName": "bailian",
"Name": "阿里云百炼。",
"Description": "阿里云百炼服务商。",
"Config": "{\n\t\"api\": \"openai-completions\",\n\t\"apiKey\": \"sk-xxxx\",\n\t\"baseUrl\": \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n}",
"EnableWuyingProxy": true
},
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.