Files
mistral-go-sdk/audio/doc.go
vikingowl 9251672de6 feat: v1.1.0 — sync with upstream Python SDK v2.1.3
Add Connectors, Audio Speech/Voices, Audio Realtime types,
and Observability (beta). 41 new service methods, 116 total.

Breaking: ListModels and UploadFile signatures changed
(pass nil for previous behavior).
2026-03-24 09:07:03 +01:00

26 lines
819 B
Go

// Package audio provides types for the Mistral audio APIs.
//
// # Transcription
//
// [TranscriptionRequest] and [TranscriptionResponse] handle speech-to-text.
// Streaming transcription returns typed [StreamEvent] values via a sealed
// interface dispatched by the "type" field.
//
// # Speech (TTS)
//
// [SpeechRequest] and [SpeechResponse] handle text-to-speech.
// Streaming speech returns typed [SpeechStreamEvent] values
// ([SpeechAudioDelta] and [SpeechDone]).
//
// # Voices
//
// [VoiceResponse], [VoiceCreateRequest], and [VoiceUpdateRequest] manage
// custom voices for speech synthesis.
//
// # Realtime
//
// Realtime transcription types ([AudioEncoding], [AudioFormat],
// [RealtimeSession], and WebSocket message types) are defined here.
// The WebSocket client is not yet implemented.
package audio