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.1.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.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_bedrock-1.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 518b8bcab11416764643f8ba3e49f95a046df513dcfb9354d1e3e9ad19488484
MD5 1eef642c32b554bc562e4380f8e7e079
BLAKE2b-256 b81e98eea884e3de3e6472ad564a479023345aadd157e0a41baa96084d63ccf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_bedrock-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a57fa0a89f6d65a34d83ce542cf01441ac403b81eb317c946a4fe713b54746a3
MD5 2735c137e8f70a892207aa522b370e88
BLAKE2b-256 fa53d5c58d92e7d11f490e71c9733fa0048a0268925640076c639f8da1490867

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