Skip to main content

TuringPulse SDK integration for AWS Bedrock

Project description

turingpulse-sdk-bedrock

TuringPulse SDK integration for AWS Bedrock — automatic tracing for Bedrock Converse API calls.

Installation

pip install turingpulse-sdk-bedrock

Quick Start

import boto3
from turingpulse_sdk import init, TuringPulseConfig
from turingpulse_sdk_bedrock import patch_bedrock

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

client = boto3.client("bedrock-runtime")
response = client.converse(
    modelId="anthropic.claude-3-sonnet-20240229-v1:0",
    messages=[{"role": "user", "content": [{"text": "Hello!"}]}]
)

Documentation

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

Requirements

  • Python >= 3.11
  • turingpulse-sdk >= 1.0.0
  • boto3 >= 1.35.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_bedrock-1.5.0.tar.gz (2.9 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_bedrock-1.5.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file turingpulse_sdk_bedrock-1.5.0.tar.gz.

File metadata

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

File hashes

Hashes for turingpulse_sdk_bedrock-1.5.0.tar.gz
Algorithm Hash digest
SHA256 339e8f215658ee64b4167392c48ca3a3ea000afac24221e5636d90adf5b2c7ab
MD5 492c100e14fec269241c3b19d4cfa16c
BLAKE2b-256 19630abe143f64bb8ab7c68f4f62b10c34dd19ed5b0a51cc1ffdd268a288735b

See more details on using hashes here.

File details

Details for the file turingpulse_sdk_bedrock-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for turingpulse_sdk_bedrock-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14dad0ed5b6d2ef5b90b5218261ecffa82e1de82426c19042ed834f1e164b302
MD5 8d57bf1d36f194e2c5a66402fe400381
BLAKE2b-256 bc0a2940f1eaa867acbc794fa774a1e25e510797436e9964cf4141ee075470d6

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