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.3.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_bedrock-1.3.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_bedrock-1.3.0.tar.gz
  • Upload date:
  • Size: 2.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 32ac0c0fdfea4fab074b3e04462b0d70b717be26a392c8977f6e117022b56f63
MD5 f34da56b204371d819d2d881e48b4194
BLAKE2b-256 1e47da86e12b2a8f3a1c58802ae0a4cd6eb1eefd4cbbfc7cee80a9f3911c34d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_bedrock-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0e672143d01bd7e288a5f3ee36f90108f4cb8559671190ff18927d4e8cdca85
MD5 e655b791c7d02b5f222b8dfdd6c6a28e
BLAKE2b-256 226fa2d7815b8d6b677045769ad0ff67e2f2932d96af5910cb472403b2091e3c

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