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.0.0.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.0.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rusticai_vertexai-1.0.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for rusticai_vertexai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 58c56557385223940d98447f144cf64e6244e2b7b75f68f3521e4ff844ed7e2f
MD5 96bc5fade48ae36eca289de7d8e7828f
BLAKE2b-256 e5a5d503cac504acca8f609658e2a92a5ebc12f9a59ed6f75d961910919809bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rusticai_vertexai-1.0.0-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.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for rusticai_vertexai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 360656029b6510add9ba82ee5c556c504a77c1c46e8e8ad8e9eb107d4199eaaf
MD5 5ae8ba28ea48b6b2996679a2cd02d1b1
BLAKE2b-256 b4ae9b8ee3b3f7a2272d69c8bfac4c3a6bbf54c4fabd8a16476be98289422e0c

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