Skip to main content

TuringPulse SDK integration for Mistral AI

Project description

turingpulse-sdk-mistral

TuringPulse SDK integration for Mistral AI — automatic tracing for Mistral Large and Mixtral models.

Installation

pip install turingpulse-sdk-mistral

Quick Start

from mistralai import Mistral
from turingpulse_sdk import init, TuringPulseConfig
from turingpulse_sdk_mistral import patch_mistral

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

client = Mistral(api_key="...")
response = client.chat.complete(
    model="mistral-large-latest",
    messages=[{"role": "user", "content": "Hello!"}]
)

Documentation

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

Requirements

  • Python >= 3.11
  • turingpulse-sdk >= 1.0.0
  • mistralai >= 0.4.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_mistral-1.2.0.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_mistral-1.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_mistral-1.2.0.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_mistral-1.2.0.tar.gz
Algorithm Hash digest
SHA256 225b80746a22afec5e0486f729054dc5193a174c9bfe347dabe8a7e332013aa0
MD5 d5de8a2051520f0eac59f43718b59542
BLAKE2b-256 f5f4aef93315896ffe9f5e42c838a42148673f8daca66083d83dc00d60af98d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_mistral-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d8cc4dde40e01597b70d7cd2f4ce54ed1b33bd5cb0c4ddb3160529bcb8223d8
MD5 4c610a18d941f461bfccbd118a759a65
BLAKE2b-256 addcf5c68296cdf5fbe45e15a0ec8be871865e9a4823b581eec37e4d574ed0e4

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