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.4.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.4.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_cohere-1.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 337a1a40414147c262430f0b2f8f9c2a9512bed8d0248c6cd6247bac64f2b9f5
MD5 1d090e4dab3482798c31e3ca2e0fcd6a
BLAKE2b-256 147019d8f28d2723a5f8caf8c4a0211572c3fa32242fb2b5a7c4026f92290439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_cohere-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9be6ce69671f25cc3cec5b51486eba48ab4cdd02418d7f138d4f4a789d5caf0
MD5 2ab8982c144f13a892dc215e42473739
BLAKE2b-256 9bd43148a16840cce9dde9c55f4995a46fd594d1329c7ff2db75260b5f4040ba

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