Personal coding rules enforced on all code in this project. These apply to every language - Java, Python, Apex, JavaScript, HTML, CSS, XML etc
- No wildcard imports. Every import must name the exact symbol being used.
| #!/bin/python3.10 | |
| # encoding: utf-8 | |
| r""" | |
| This Gemini Pro 1.5 Python Client was created to demonstrate the issue of missing content/generation node from the | |
| Vertex api response object. Ref: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini#response | |
| The client invokes the Vertex Gemini `generateContent` api `EPOCH` number of times with the exact same payload `PAYLOAD`, | |
| and prints the program statistics as explained below. |