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 set-quota-project <project-id>
gcloud auth application-default login

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-0.0.1.tar.gz (4.6 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-0.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rusticai_vertexai-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Linux/6.14.9-300.fc42.x86_64

File hashes

Hashes for rusticai_vertexai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f898e4623b931226c8efa41d0a3982213e1fc7ec605fab6b5467b2868f5b0b58
MD5 6a89f2441c5e3d37371ce8c00cff1854
BLAKE2b-256 95f9310a3a1fc5d63158a863542f8e5d91f27daa70638ed7d9883eb42a96c0b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rusticai_vertexai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Linux/6.14.9-300.fc42.x86_64

File hashes

Hashes for rusticai_vertexai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c82ce7fd70a82ebdb59493ca99d958253911ebee7bb2940b0024fc8ea245956
MD5 539c639e12bb79f3285018c4d12b9aaf
BLAKE2b-256 5a216cb3f81b7ad65005498a7fb37566f40527319b0394319ef20b17c6147f28

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