Few shot image to JSON

Use world knowledge and the provided examples to answer questions.

You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly.

Prompt Freeform


{"city": "Rome", "Landmark": "the Colosseum"}

{"city": "Beijing", "Landmark": "Forbidden City"}

Response

{"city": "Rio de Janeiro", "Landmark": "Christ the Redeemer"}
Model: gemini-1.5-flash-001
Temperature: 1
Max output tokens: 8192
TopK: 40
TopP: 0.95