# 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. - For an example of using the Vertex AI API, see [Quickstart using the Vertex AI API](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/api-quickstart). - To view this sample in the Cloud console: [Go to Google Cloud console](https://console.cloud.google.com/vertex-ai/generative/language/prompt-examples/Few%20shot%20image%20to%20JSON) <br /> ||
| #### Prompt Freeform {"city": "Beijing", "Landmark": "Forbidden City"} #### Response I'm sorry, but the provided city and landmark are incorrect. The image shows the famous "Christ the Redeemer" statue, which is located in Rio de Janeiro, Brazil, not the Forbidden City in Beijing. Here is the correct information: `json {"city": "Rio de Janeiro", "Landmark": "Christ the Redeemer"}` | |---|---| | **Model:** | gemini-2.5-pro | | **Temperature:** | 0.2 | | **Max output tokens:** | 8192 | | **TopK:** | 40.0 | | **TopP:** | 0.95 | |