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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_cohere-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_cohere-1.5.1.tar.gz
Algorithm Hash digest
SHA256 461aa74fd25ee094ffc462648c457df68979a4157ced8723a61be03294303e94
MD5 bc6f4c70fadd68e208d9028cda7be144
BLAKE2b-256 e0ec0ebc9e66b96fa47315b79511487bbbc4ae9887eb5342e41c76a094cc32e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_cohere-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd60e7af1faf9fa7f15edebf5d8f3b465ec263263ea5c0ed8f35a33a5137f108
MD5 58a4e43aa8a58cac9645693ddfe821bd
BLAKE2b-256 f61ab91c08cbef721837f0c2372ebe7ee0d424f41d466a8fee61c2c46139a34f

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