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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_bedrock-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 120109729cccbc54caf8714c689d99d8b56b5d434b422046099b91bff9044a33
MD5 24f69248177adfd7ec725e47c7cf094d
BLAKE2b-256 d8b969ab5941ba716fa7b246386cf286e5b62f13a5ce1d24270f689cb28d1528

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_bedrock-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9301ee1dccbf85f993a26c230f0f97387cf2251839ae71d0d4cac44e40edf8f
MD5 d6626ccac1709c8e45ce5b115e3a9983
BLAKE2b-256 de249a52b3b0c4d7437b6f248e13a8c20821b361d1b2a644449c2a7e98bf2ca4

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