Skip to main content

TuringPulse SDK integration for Google GenAI (Gemini)

Project description

turingpulse-sdk-google-genai

TuringPulse SDK integration for Google GenAI (Gemini) — automatic tracing for Gemini Pro and Flash models.

Installation

pip install turingpulse-sdk-google-genai

Quick Start

from google import genai
from turingpulse_sdk import init, TuringPulseConfig
from turingpulse_sdk_google_genai import patch_google_genai

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

client = genai.Client()
response = client.models.generate_content(
    model="gemini-2.0-flash",
    contents="Hello!"
)

Documentation

Full documentation: turingpulse.ai/docs/sdk/google-genai

Requirements

  • Python >= 3.11
  • turingpulse-sdk >= 1.0.0
  • google-genai >= 1.14.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_google_genai-1.4.0.tar.gz (2.8 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_google_genai-1.4.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_google_genai-1.4.0.tar.gz
Algorithm Hash digest
SHA256 afeb06f2b4648c402a011766c224fe72087b8d40bd9fec1fa02aed08a7d08c79
MD5 adde1322ecb546606878aaab66a012d2
BLAKE2b-256 99191644cd079722387288ddb37b4b210e5713b820efe0dfe45eaf04d83d27d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_google_genai-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3c721d9a642fec421a3229992078e3504b37f5c7e6789e1d0cfb930f7858eb
MD5 cba12d4d18b4d917631c3df45d067ea3
BLAKE2b-256 bac7ca25ae0f95efbbec055ea8daab22e5336a3072418af13d48e783e6d4998c

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