Skip to main content

Rustic AI module with Vertex AI integrations

Project description

Rustic AI VertexAI

Rustic AI module supporting integration with Vertex AI

Prerequisites

  1. Using this module requires a Google Cloud Account project with Vertex AI API enabled. The account must have the role Vertex AI User.
  2. gcloud CLI for local development.

Installing

pip install rusticai-vertexai

Note: It depends on rusticai-core

Building from Source

poetry install --with dev
poetry build

Usage

The library also supports using environment variables VERTEXAI_PROJECT and VERTEXAI_LOCATION in addition to the ones supported by Google Cloud AI Platform SDK

export VERTEXAI_PROJECT=<project-id>
export VERTEXAI_LOCATION=<location>

For local development/use, ensure the account you are using has the roles/permissions of Vertex AI User and Service Usage Consumer at the minimum. Login using gcloud CLI in a terminal

gcloud auth application-default login
gcloud auth application-default set-quota-project <project-id>

For more options/details, refer Google Cloud docs.

On Cloud, It's recommended to use Google Workload Identity.

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

rusticai_vertexai-1.2.3.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

rusticai_vertexai-1.2.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file rusticai_vertexai-1.2.3.tar.gz.

File metadata

  • Download URL: rusticai_vertexai-1.2.3.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.12 Linux/6.17.0-1010-azure

File hashes

Hashes for rusticai_vertexai-1.2.3.tar.gz
Algorithm Hash digest
SHA256 90002f4a0afaf5d9f61d57a3c1abdfc5fe654e5451752afa6e6762e3e8288b62
MD5 68fd8a2401ed73f04e4836b012cf6c91
BLAKE2b-256 b2822ced9fe0b25f804ca2af707e0eaa1a899f48e6e3a517ced67dfcd40775fb

See more details on using hashes here.

File details

Details for the file rusticai_vertexai-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: rusticai_vertexai-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.12 Linux/6.17.0-1010-azure

File hashes

Hashes for rusticai_vertexai-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31c7c3576e2982670139f190009f119e0d167bbd0bf3f75735f4694abc2b1edb
MD5 bae58fd21161feae76f5377ea9a790a2
BLAKE2b-256 9bb9c1a6433c4873eb3b3c98930581f68139dce66a022fdbd0fdafc445c7d306

See more details on using hashes here.

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