參加 Gemini API 開發人員競賽!
瞭解詳情
Method: tunedModels.create
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
建立經過調整的模型。透過 google.longrunning.Operations
服務存取中間調整進度 (如有)。
狀態和結果可透過作業服務存取。範例:GET /v1/tunedModels/az2mb0bpw6i/operations/000-111-222
HTTP 要求
POST https://generativelanguage.googleapis.com/v1beta/tunedModels
這個網址使用 gRPC 轉碼語法。
查詢參數
參數 |
tunedModelId |
string
選用設定。調整後模型的專屬 ID (如有指定)。這個值不得超過 40 個半形字元,第一個字元必須是英文字母,最後一個可以是英文字母或數字。ID 必須與規則運算式 a-z 相符。
|
要求主體
要求主體包含 TunedModel
的例項。
回應主體
如果成功,回應主體會包含新建立的 Operation
例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/generative-language.tuning
詳情請參閱驗證總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-06-25 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]