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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_bedrock-1.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 a4c28631bb294afec643a4e43a52030b88bb64e0eacbe4261ab0e800a1c03f44
MD5 5d5338371869966545d7478a6e00ac15
BLAKE2b-256 5096e971411ee7bebdd5300f6cc70c7c0cdeb201d1a3e36b534ad95453f4e86b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_bedrock-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d6906fddbaccc536dbf28d6929f8e7a0de25f84359434fc3885023deff6bcb
MD5 8d999b51780a46e975322f9b5e7c0a90
BLAKE2b-256 7f60f25bb181c8b4741a3db357d7688ae52c4b6f47f59b3f524022401e67f062

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