ModelVersion interface
模型版本定義
屬性
| artifact |
模型的偽物剖面 |
| base |
基礎模型資產識別碼 |
| blob |
blob 儲存中模型產物的 URI |
| description | 資產描述文字。 |
| id | 資產識別碼,資產的唯一識別碼 |
| lora |
針對特定轉接器配置。 當weight_type是Lora時必須;否則就被忽略了。 當上傳檔案中存在時,可能會自動從 adapter_config.json 填入——使用者提供的數值優先於自動偵測值。 |
| name | 資源的名稱 |
| source | 模型的來源 |
| tags | 標記字典。 標記可以新增、移除和更新。 |
| version | 資源版本 |
| warnings | 服務計算的諮詢警告,源自產物剖面。 |
| weight |
模型的重量類型 |
屬性詳細資料
artifactProfile
baseModel
基礎模型資產識別碼
baseModel?: string
屬性值
string
blobUri
blob 儲存中模型產物的 URI
blobUri: string
屬性值
string
description
資產描述文字。
description?: string
屬性值
string
id
資產識別碼,資產的唯一識別碼
id?: string
屬性值
string
loraConfig
針對特定轉接器配置。 當weight_type是Lora時必須;否則就被忽略了。 當上傳檔案中存在時,可能會自動從 adapter_config.json 填入——使用者提供的數值優先於自動偵測值。
loraConfig?: LoraConfig
屬性值
name
資源的名稱
name: string
屬性值
string
source
tags
標記字典。 標記可以新增、移除和更新。
tags?: Record<string, string>
屬性值
Record<string, string>
version
資源版本
version: string
屬性值
string