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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_cohere-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 f603b6cfc1d09280d1f911fbb7245f829a915822d65853a101303d38240521fd
MD5 ee4fffaa3856d3bb4f64075d6fb46f5a
BLAKE2b-256 eb3e5a3ea97d10ac218cf96ef14cbd6a89ddadc60e8268f259703ab776df82b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_cohere-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bb246146a692fbf84533b3b4715fa8c98cffc328ff55510e2cf8ac0dc6157af
MD5 aaee1fb1ae83a187b7f4de1f4efeff91
BLAKE2b-256 fc18f30c45ac25ee6417f8746a304b48d2940a2d8307aab6aadb43e64be28388

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