Skip to main content

TuringPulse SDK integration for Google Vertex AI (Gemini)

Project description

turingpulse-sdk-vertexai

TuringPulse SDK integration for Google Vertex AI — automatic tracing for Gemini models via Vertex AI.

Installation

pip install turingpulse-sdk-vertexai

Quick Start

import vertexai
from vertexai.generative_models import GenerativeModel
from turingpulse_sdk import init, TuringPulseConfig
from turingpulse_sdk_vertexai import instrument_vertexai

init(TuringPulseConfig(api_key="sk_live_...", workflow_name="my-project"))
instrument_vertexai(name="my-project")

vertexai.init(project="my-gcp-project", location="us-central1")
model = GenerativeModel("gemini-1.5-pro")
response = model.generate_content("Hello!")

Documentation

Full documentation: turingpulse.ai/docs/sdk/vertexai

Requirements

  • Python >= 3.11
  • turingpulse-sdk >= 1.0.0
  • google-cloud-aiplatform >= 1.60.0

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

turingpulse_sdk_vertexai-1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

turingpulse_sdk_vertexai-1.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file turingpulse_sdk_vertexai-1.0.1.tar.gz.

File metadata

  • Download URL: turingpulse_sdk_vertexai-1.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for turingpulse_sdk_vertexai-1.0.1.tar.gz
Algorithm Hash digest
SHA256 aecc96e4641446e851a0e8b73ea55b4c1a39c31bbccc03bf54cda3e8a3a12ff5
MD5 2583c6aa864a9fbbc75debee3def650e
BLAKE2b-256 cc0432118c7fad86a670a348f4dcf872dcd45d7c3b6de87d7261177e9e51a9d6

See more details on using hashes here.

File details

Details for the file turingpulse_sdk_vertexai-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for turingpulse_sdk_vertexai-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c1b78b3416d813eb04facd162ef9385d594d1a76eb7e5c1dc6db41890f15643
MD5 e08001ea1980d5c39099c1556ba55c49
BLAKE2b-256 4da5c89683bd991895e02ba4316dcdfe7a3e4dadb8abc8e82677969c376503dd

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