少数画像を JSON に変換する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
世界に関する知識と提供された例を使用して、質問に答えます。
モデルにクエリを直接実行して、返された結果をテストできます。その場合、Cloud コンソールでさまざまなパラメータ値を使用することも、Vertex AI API を直接呼び出すこともできます。
|
![](https://cloud.google.com/static/vertex-ai/generative-ai/docs/prompt-gallery/images/multimodal_few_shot_image_to_json_63_1.png?hl=ja)
{"city": "Rome", "Landmark": "the Colosseum"}
![](https://cloud.google.com/static/vertex-ai/generative-ai/docs/prompt-gallery/images/multimodal_few_shot_image_to_json_63_2.png?hl=ja)
{"city": "Beijing", "Landmark": "Forbidden City"}
レスポンス
{"city": "Rio de Janerio", "Landmark": "Christ the Redeemer"}
|
モデル: |
gemini-1.5-pro-preview-0409 |
Temperature: |
1 |
最大出力トークン: |
8192 |
TopK: |
40 |
トップ P |
0.95 |
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-09 UTC。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"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":"その他"
}]