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.1.0.tar.gz (4.8 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.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rusticai_vertexai-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1015-azure

File hashes

Hashes for rusticai_vertexai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d68c0a92f7ec96d6d9922d6da7567382a2773b9bfc6d49bfd0e4d9b3823fc29
MD5 aca366cb5da7d3041e21490174cbc87b
BLAKE2b-256 f5623034c459e3e3c4f71ee0cfee478e80b8266e3b245be1cf6014c7f702dc9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rusticai_vertexai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1015-azure

File hashes

Hashes for rusticai_vertexai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0784a90bb7160846e3b2c681b707594a153aa73b2a82d34013b5fe9bd6d16fc1
MD5 c3cb928c04df06b3d971387ce9ec576b
BLAKE2b-256 60fbe9c2556958cb01043a2fe6b5ca3c35c187eb65165883be3615c55c423593

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