By default, the cloud function will use a default model. However, you may want to test out different Gemini models are they are released. We have made the model name configurable via an environment variable.
In development, you can run the main script with a new MODEL_NAME variable:
By default, the cloud function will use a default model. However, you may want to test out different Gemini models are they are released. We have made the model name configurable via an environment variable.
In development, you can run the main script with a new MODEL_NAME variable:
In production, on the cloud function, you can manually set a variable in the GCP UI. Updating the variable will re-deploy the cloud function.