Skip to main content

TuringPulse SDK integration for Cohere

Project description

turingpulse-sdk-cohere

TuringPulse SDK integration for Cohere — automatic tracing for Command R+, Embed, and Rerank.

Installation

pip install turingpulse-sdk-cohere

Quick Start

import cohere
from turingpulse_sdk import init, TuringPulseConfig
from turingpulse_sdk_cohere import patch_cohere

init(TuringPulseConfig(api_key="sk_live_...", workflow_name="my-project"))
patch_cohere(name="my-project")

client = cohere.ClientV2()
response = client.chat(
    model="command-r-plus",
    messages=[{"role": "user", "content": "Hello!"}]
)

Documentation

Full documentation: turingpulse.ai/docs/sdk/cohere

Requirements

  • Python >= 3.11
  • turingpulse-sdk >= 1.0.0
  • cohere >= 5.20.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_cohere-1.3.0.tar.gz (2.7 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_cohere-1.3.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_cohere-1.3.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for turingpulse_sdk_cohere-1.3.0.tar.gz
Algorithm Hash digest
SHA256 fd5d617a0e085c1068c5be5443af3f37b7506f87ac252841a406b9546d5f8272
MD5 0be327e1144124aea977ff979c1fe0e8
BLAKE2b-256 1dacc4101cef97795d83e16173291e7070babb3d1d776e04b2f1c31578272382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_cohere-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4571870a73d2355ad0f4654a89b71a5245ca75211604b2e9f2084bf8499fda0f
MD5 2edd1a074f09be9242ddb5032d1ad6e5
BLAKE2b-256 fc9d687a321d80b1baeb2537c06332b0e8c21b2f33e60a9178555237738d12d9

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