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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_mistral-1.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 f4304159b4e09f8337fdeaf8fc8e703d7288ba810368eb27a0a6c4a9bf6f9153
MD5 614e219e33c142bf786a7e0525c770ad
BLAKE2b-256 d7cbebe63352e9f867ea13239b645e0d6eb8620c945386275277b75e7cde8a26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_mistral-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa42f942d1da5d962e637633f232a9a0e2bb4985de49710a569da80cdcc3a6bb
MD5 d1aef8bab23a7de26c5a0fcbf5de9f42
BLAKE2b-256 876e841c383f811f3ea76c8d1b8de09b5e3fea2f0c4f5720b18cb019eebd8e33

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