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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turingpulse_sdk_mistral-1.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 63615817cd4bae6c4494e9233486627a09ce3f4c56ad214d834ef1ed706a98ee
MD5 6d4a193201ceb56230e45013e8c64c86
BLAKE2b-256 fb32132a131b76973026d301f46dde984ac50cb7198b3cbec5b7b579a5f637d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_mistral-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6ca14fd1b422f0aa4571e223357afda76bfcc0aefd7d07bc244ffdeb9898114
MD5 780bea318563dbe2ca7bebc398354056
BLAKE2b-256 c701adc5ab8cada79c17ca0963f4dae2ee85cdd3ed09d6240b174ae686534b34

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