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.2.tar.gz (4.1 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.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_bedrock-1.5.2.tar.gz
  • Upload date:
  • Size: 4.1 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.2.tar.gz
Algorithm Hash digest
SHA256 e37ad9d4a5bded0f16d77c84de644a641e756a5fb7f4a306a559dca6ca7afc4e
MD5 cda0b1949a334e331ce24a6c6dab38eb
BLAKE2b-256 33c238cf0beb5edc179a3a1bda3992bec22286c059d6b4d0ee0ff0f1a3746a7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_bedrock-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e99243d2751b902fdb72e3dd6ceef06054e40c68c173b1d2a338be8a76e78e1b
MD5 5ef4c2066d8a2dbb2c559f3917031c9e
BLAKE2b-256 f320ad465bf02381cb9950b44ccefd29df6fc1dbbddc144b6fd28c580531d027

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