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.4.0.tar.gz (3.5 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.4.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_vertexai-1.4.0.tar.gz
  • Upload date:
  • Size: 3.5 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.4.0.tar.gz
Algorithm Hash digest
SHA256 29591050df7f4642e924e8dd92e8969a67aad4c1c03761f99e556aae650ab487
MD5 ef5a3a88e33fe4ae8267c65fac1ce337
BLAKE2b-256 a0b12e9c72dbdb7d2404d84cb7cf00b99f00824d9683ea85b5581de7d68ec91d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_vertexai-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a74e8c4488db633984022b340a73f04288c5a324dfca2d70ba69b98967915bc
MD5 c2df07c4112c6dad2ddbb8f13fc50ebc
BLAKE2b-256 02680d1358b8dd7c73133883ddd9a033aad4a300450eaa0a050a54cb8ec90444

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