You need to enable JavaScript to run this app.
导航
GetFoundationModelVersionConfiguration - 获取基础模型版本配置信息(不推荐)
最近更新时间:2024.11.08 16:46:26首次发布时间:2024.05.15 01:48:35

获取基础模型版本配置信息(不推荐),建议使用GetFoundationModelVersion

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

GetFoundationModelVersionConfiguration

要执行的操作,取值:GetFoundationModelVersionConfiguration。

Version
String

2024-01-01

API的版本,取值:2024-01-01。

Id
String

fmvc-20240914******-*****

基础模型版本配置ID,需从ListFoundationModelVersions接口的ActiveConfigurationId获取。

FoundationModelName
String

doubao-pro-32k

基础模型名称

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
Id
String

fmvc-20240914******-*****

基础模型版本配置ID

FoundationModelName
String

doubao-pro-32k

基础模型名称

FoundationModelVersion
String

240828

基础模型版本名称

Configuration
Object

-

基础模型配置详细信息

Status
String

Tested

基础模型版本配置状态:

  • Untested 未测试
  • Testing 测试中
  • Tested 已测试
  • Failed 测试失败
CreateTime
String

2006-01-02T15:04:05Z07:00

基础模型版本配置创建时间,RFC3339格式

UpdateTime
String

2006-01-02T15:04:05Z07:00

基础模型版本配置更新时间,RFC3339格式

请求示例

POST /?Action=GetFoundationModelVersionConfiguration&Version=2024-01-01 HTTP/1.1
Host: open.volcengineapi.com
Content-Type: application/json; charset=UTF-8
X-Date: 20241108T062937Z
X-Content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20241108/cn-beijing/ark/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f

{
  "Id": "fmvc-20240914******-*****",
  "FoundationModelName": "doubao-pro-32k"
}

返回示例

{
  "ResponseMetadata": {
    "RequestId": "20241108152417129217208184B83623",
    "Action": "GetFoundationModelVersionConfiguration",
    "Version": "2024-01-01",
    "Service": "ark",
    "Region": "cn-beijing"
  },
  "Result": {
    "Id": "fmvc-20240914******-*****",
    "FoundationModelName": "doubao-pro-32k",
    "FoundationModelVersion": "240828",
    "Configuration": {
      "AppSettings": {
        "Greeting": "PD8tc",
        "Parameters": [
          {
            "Type": "String",
            "Name": "VmyVdsskE",
            "DisplayName": "HJBjfUC",
            "Min": "g5AQZcjfzS",
            "Max": "KVb4XpKRa",
            "Options": [
              "h"
            ],
            "DefaultValue": "7Bj6ypR1",
            "Description": "8s5"
          }
        ],
        "Prompts": [
          {
            "Scenario": "06hu6AVON92",
            "Message": "TnNySWLzk"
          }
        ],
        "MaxInputTokenLength": 472,
        "SystemPrompt": {
          "Message": "YIs",
          "ModificationAllowed": true,
          "MaxInputTokenLength": 525
        }
      },
      "CustomizationJobSettings": {
        "SftSettings": {
          "Enabled": false,
          "SupportPresetDatasets": [
            {
              "Name": "j4",
              "Description": "U",
              "SampleCount": 49,
              "Labelled": false
            }
          ],
          "Parameters": [
            {
              "Type": "String",
              "Name": "jYndBB",
              "DisplayName": "n",
              "Min": "266KPg1Twd",
              "Max": "ApLxU3",
              "Options": [
                "4"
              ],
              "DefaultValue": "7mzh7VQhze",
              "Description": "x1JwQHNDsKF",
              "IncrementalLearningLocked": false
            }
          ]
        },
        "LoraSettings": {
          "Enabled": true,
          "SupportPresetDatasets": [
            {
              "Name": "fT3GVuNzHW",
              "Description": "AhiLwIdfe6",
              "SampleCount": 521,
              "Labelled": true
            }
          ],
          "Parameters": [
            {
              "Type": "String",
              "Name": "Y2nq7r",
              "DisplayName": "wLUKKddH1NN",
              "Min": "0kstzmQoY",
              "Max": "0VOtfU0Ki",
              "Options": [
                "EfnCdO"
              ],
              "DefaultValue": "R7QWG",
              "Description": "THT",
              "IncrementalLearningLocked": true
            }
          ]
        },
        "ContinuePretrainSettings": {
          "Enabled": false,
          "SupportPresetDatasets": [
            {
              "Name": "vQQpQ5NLDDW",
              "Description": "TGezbHr",
              "SampleCount": 734,
              "Labelled": true
            }
          ],
          "Parameters": [
            {
              "Type": "String",
              "Name": "duxuPkFd",
              "DisplayName": "Gq1MbSizUk",
              "Min": "Bn0VW8ksTt",
              "Max": "DfqFVfmwG",
              "Options": [
                "MoqPrr"
              ],
              "DefaultValue": "6",
              "Description": "KIFatHpb5",
              "IncrementalLearningLocked": true
            }
          ]
        }
      }
    },
    "Status": "Tested",
    "CreateTime": "2006-01-02T15:04:05Z07:00",
    "UpdateTime": "2006-01-02T15:04:05Z07:00"
  }
}

错误码

您可访问公共错误码,获取更多错误码信息。