Skip to main content

Google GenAI provider for opsmate

Project description

opsmate-provider-google-genai

opsmate-provider-google-genai provides selected models from Google GenAI.

Installation

opsmate install opsmate-provider-google-genai

After installation you can list all the models via

$ opsmate list-models

Limitations

Only Vertex AI models are supported

:warning: This provider currently does not support Gemini API, because the Gemini API does not support default value in the response schema.

As the result, currently only vertex AI models are supported, meaning you need to have a Google Cloud account in order to use this provider.

Limited region support for gemini-2.5-pro

By the time the provider is published, the gemini-2.5-pro-preview-03-25 and gemini-2.5-pro-exp-03-25 models are only available in the us-central1 region. To use it you will need to set GOOGLE_CLOUD_LOCATION as below:

export GOOGLE_CLOUD_LOCATION=us-central1

# or
export GOOGLE_CLOUD_LOCATION=global

Usage

export GOOGLE_CLOUD_PROJECT=<your-project-id>
export GOOGLE_CLOUD_LOCATION=<your-location>

opsmate chat -m gemini-2.0-flash-001

Uninstall

opsmate uninstall -y opsmate-provider-google-genai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opsmate_provider_google_genai-0.1.1a0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file opsmate_provider_google_genai-0.1.1a0.tar.gz.

File metadata

File hashes

Hashes for opsmate_provider_google_genai-0.1.1a0.tar.gz
Algorithm Hash digest
SHA256 4b90e0cb8a5d8da7295727785d6c7e2081ac77697a759f00c5cb5c5e3cf395cc
MD5 fe856924fca89ac7f44dfcf091fd8a70
BLAKE2b-256 f464e085c77b89c864f23db7ec8c32d835504e0d5d66729d0b35c2bee0ad6766

See more details on using hashes here.

Provenance

The following attestation bundles were made for opsmate_provider_google_genai-0.1.1a0.tar.gz:

Publisher: publish.yml on jingkaihe/opsmate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opsmate_provider_google_genai-0.1.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for opsmate_provider_google_genai-0.1.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 fac684996797aa866f95c3f56201a4f8cc3e1be29c543c3b95781eb3ff1a51f2
MD5 6e3ee8e47f71f56590dfb47754d46aaa
BLAKE2b-256 36ae6a847508a0c111b55a3005459b510382093c17706a4973887203dc033a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for opsmate_provider_google_genai-0.1.1a0-py3-none-any.whl:

Publisher: publish.yml on jingkaihe/opsmate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page