Directories
¶
| Path | Synopsis |
|---|---|
|
Package anthropic is a streaming LLM service backed by the Anthropic API.
|
Package anthropic is a streaming LLM service backed by the Anthropic API. |
|
Package assemblyai holds the AssemblyAI streaming services.
|
Package assemblyai holds the AssemblyAI streaming services. |
|
Package asyncai is a streaming text-to-speech service backed by Async's TTS WebSocket.
|
Package asyncai is a streaming text-to-speech service backed by Async's TTS WebSocket. |
|
aws
|
|
|
bedrock
Package bedrock provides a streaming LLM service for Anthropic Claude models served through Amazon Bedrock.
|
Package bedrock provides a streaming LLM service for Anthropic Claude models served through Amazon Bedrock. |
|
novasonic
Package novasonic is a speech-to-speech service built on Amazon Nova Sonic, served over Bedrock's bidirectional streaming API.
|
Package novasonic is a speech-to-speech service built on Amazon Nova Sonic, served over Bedrock's bidirectional streaming API. |
|
polly
Package polly is a text-to-speech service backed by Amazon Polly's SynthesizeSpeech API.
|
Package polly is a text-to-speech service backed by Amazon Polly's SynthesizeSpeech API. |
|
transcribe
Package transcribe is a streaming speech-to-text service backed by Amazon Transcribe's StartStreamTranscription API.
|
Package transcribe is a streaming speech-to-text service backed by Amazon Transcribe's StartStreamTranscription API. |
|
azure
|
|
|
openai
Package openai provides an LLM and a transcription service for Azure OpenAI.
|
Package openai provides an LLM and a transcription service for Azure OpenAI. |
|
realtime
Package realtime is a speech-to-speech service built on Azure OpenAI's Realtime API.
|
Package realtime is a speech-to-speech service built on Azure OpenAI's Realtime API. |
|
speech
Package speech provides Azure AI Speech services.
|
Package speech provides Azure AI Speech services. |
|
Package baseten provides Baseten's OpenAI-compatible LLM service.
|
Package baseten provides Baseten's OpenAI-compatible LLM service. |
|
Package bland provides Bland text-to-speech: a realtime service streaming text into one session held open for the call over Bland's /v2/tts/ws WebSocket, and an HTTP service making one /v2/tts request per sentence.
|
Package bland provides Bland text-to-speech: a realtime service streaming text into one session held open for the call over Bland's /v2/tts/ws WebSocket, and an HTTP service making one /v2/tts request per sentence. |
|
Package camb is a streaming text-to-speech service backed by Camb.ai's MARS models.
|
Package camb is a streaming text-to-speech service backed by Camb.ai's MARS models. |
|
Package cartesia is a streaming text-to-speech service backed by Cartesia's TTS WebSocket.
|
Package cartesia is a streaming text-to-speech service backed by Cartesia's TTS WebSocket. |
|
Package cerebras provides Cerebras's OpenAI-compatible LLM service.
|
Package cerebras provides Cerebras's OpenAI-compatible LLM service. |
|
Package crusoe provides Crusoe Cloud's OpenAI-compatible LLM service, on its Managed Inference API.
|
Package crusoe provides Crusoe Cloud's OpenAI-compatible LLM service, on its Managed Inference API. |
|
Package deepgram provides Deepgram's streaming speech-to-text service (over the live transcription WebSocket, see stt.go), its Aura text-to-speech service over HTTP (see tts.go) and over the WebSocket API (see websocket_tts.go), and its Flux streaming STT and TTS services (see flux.go and flux_tts.go).
|
Package deepgram provides Deepgram's streaming speech-to-text service (over the live transcription WebSocket, see stt.go), its Aura text-to-speech service over HTTP (see tts.go) and over the WebSocket API (see websocket_tts.go), and its Flux streaming STT and TTS services (see flux.go and flux_tts.go). |
|
Package deepseek provides DeepSeek's OpenAI-compatible LLM service.
|
Package deepseek provides DeepSeek's OpenAI-compatible LLM service. |
|
Package elevenlabs is a streaming text-to-speech service backed by ElevenLabs.
|
Package elevenlabs is a streaming text-to-speech service backed by ElevenLabs. |
|
Package fal is a batch speech-to-text service backed by Fal's Wizper API.
|
Package fal is a batch speech-to-text service backed by Fal's Wizper API. |
|
Package fireworks provides Fireworks AI's OpenAI-compatible LLM service.
|
Package fireworks provides Fireworks AI's OpenAI-compatible LLM service. |
|
Package fish is a streaming text-to-speech service backed by Fish Audio.
|
Package fish is a streaming text-to-speech service backed by Fish Audio. |
|
Package gladia is a streaming speech-to-text service backed by Gladia's Live STT v2 API.
|
Package gladia is a streaming speech-to-text service backed by Gladia's Live STT v2 API. |
|
google
|
|
|
frames
Package frames holds the frames the Google services add to the pipeline's own: the search results and grounding a Gemini model reports when it answers from a web search.
|
Package frames holds the frames the Google services add to the pipeline's own: the search results and grounding a Gemini model reports when it answers from a web search. |
|
gemini
Package gemini is a streaming LLM service backed by Google's Gemini API (generateContent with SSE).
|
Package gemini is a streaming LLM service backed by Google's Gemini API (generateContent with SSE). |
|
interactions
Package interactions is a streaming LLM service backed by Google's Gemini Interactions API.
|
Package interactions is a streaming LLM service backed by Google's Gemini Interactions API. |
|
internal/gcloud
Package gcloud holds what the Google Cloud speech services share: the credentials they authorize with, and the codes Cloud Text-to-Speech names its languages by.
|
Package gcloud holds what the Google Cloud speech services share: the credentials they authorize with, and the codes Cloud Text-to-Speech names its languages by. |
|
internal/stream
Package stream reads the streamed responses of the Google LLM services: the server-sent events of one request, bounded by how long the model may go quiet for, with a request that never began answering re-issued once.
|
Package stream reads the streamed responses of the Google LLM services: the server-sent events of one request, bounded by how long the model may go quiet for, with a request that never began answering re-issued once. |
|
live
Package live is a speech-to-speech service built on Google's Gemini Live API (BidiGenerateContent).
|
Package live is a speech-to-speech service built on Google's Gemini Live API (BidiGenerateContent). |
|
speech
Package speech provides Google Cloud's streaming speech services over gRPC: Speech-to-Text V2 streaming recognition (NewSTT) and Text-to-Speech streaming synthesis (NewTTS).
|
Package speech provides Google Cloud's streaming speech services over gRPC: Speech-to-Text V2 streaming recognition (NewSTT) and Text-to-Speech streaming synthesis (NewTTS). |
|
vertex
Package vertex provides Google's Gemini models as served by Vertex AI: a streaming LLM (NewLLM), the same on the Interactions API (NewInteractionsLLM), and the Live speech-to-speech service (NewS2S).
|
Package vertex provides Google's Gemini models as served by Vertex AI: a streaming LLM (NewLLM), the same on the Interactions API (NewInteractionsLLM), and the Live speech-to-speech service (NewS2S). |
|
Package gradium provides Gradium's speech services: streaming text-to-speech and real-time streaming speech-to-text, both over Gradium's WebSocket API.
|
Package gradium provides Gradium's speech services: streaming text-to-speech and real-time streaming speech-to-text, both over Gradium's WebSocket API. |
|
Package groq provides Groq's OpenAI-compatible LLM service and its Whisper speech-to-text and text-to-speech services.
|
Package groq provides Groq's OpenAI-compatible LLM service and its Whisper speech-to-text and text-to-speech services. |
|
Package heygen provides HeyGen Voice text-to-speech: a streaming service that sends text in and plays audio out over the /v3/models/audio/tts/multi-stream-input WebSocket, with word timestamps, and an HTTP service streaming raw PCM from POST /v3/models/audio/tts/stream, one request per sentence.
|
Package heygen provides HeyGen Voice text-to-speech: a streaming service that sends text in and plays audio out over the /v3/models/audio/tts/multi-stream-input WebSocket, with word timestamps, and an HTTP service streaming raw PCM from POST /v3/models/audio/tts/stream, one request per sentence. |
|
Package inception provides Inception's OpenAI-compatible LLM service.
|
Package inception provides Inception's OpenAI-compatible LLM service. |
|
Package inworld provides Inworld AI text-to-speech.
|
Package inworld provides Inworld AI text-to-speech. |
|
Package kokoro synthesizes speech with Kokoro, a small open-weight text-to-speech model that runs locally on the CPU: no server and no API key.
|
Package kokoro synthesizes speech with Kokoro, a small open-weight text-to-speech model that runs locally on the CPU: no server and no API key. |
|
Package kyutai provides Kyutai's self-hosted speech services.
|
Package kyutai provides Kyutai's self-hosted speech services. |
|
Package mem0 adds long-term memory to a jargo voice agent, backed by a mem0 server (https://github.com/mem0ai/mem0).
|
Package mem0 adds long-term memory to a jargo voice agent, backed by a mem0 server (https://github.com/mem0ai/mem0). |
|
Package minimax is a streaming text-to-speech service backed by MiniMax's T2A API.
|
Package minimax is a streaming text-to-speech service backed by MiniMax's T2A API. |
|
Package mistral provides Mistral AI's OpenAI-compatible LLM service.
|
Package mistral provides Mistral AI's OpenAI-compatible LLM service. |
|
Package moonshine transcribes speech with Moonshine, a small, fast ASR model family that runs on the CPU: no GPU and no API key.
|
Package moonshine transcribes speech with Moonshine, a small, fast ASR model family that runs on the CPU: no GPU and no API key. |
|
Package nebius provides Nebius AI Studio's OpenAI-compatible LLM service.
|
Package nebius provides Nebius AI Studio's OpenAI-compatible LLM service. |
|
Package neuphonic provides Neuphonic's text-to-speech, over two transports.
|
Package neuphonic provides Neuphonic's text-to-speech, over two transports. |
|
Package novita provides Novita AI's OpenAI-compatible LLM service.
|
Package novita provides Novita AI's OpenAI-compatible LLM service. |
|
Package nvidia provides NVIDIA services: an NVIDIA NIM OpenAI-compatible LLM (NewLLM), a Riva streaming speech-to-text service (NewSTT), and a Riva streaming text-to-speech service (NewTTS).
|
Package nvidia provides NVIDIA services: an NVIDIA NIM OpenAI-compatible LLM (NewLLM), a Riva streaming speech-to-text service (NewSTT), and a Riva streaming text-to-speech service (NewTTS). |
|
internal/rivapb
Package rivapb holds the generated gRPC clients for the subset of the NVIDIA Riva speech API the streaming ASR and TTS services use.
|
Package rivapb holds the generated gRPC clients for the subset of the NVIDIA Riva speech API the streaming ASR and TTS services use. |
|
Package ollama provides a client for a local Ollama server through its OpenAI-compatible LLM endpoint.
|
Package ollama provides a client for a local Ollama server through its OpenAI-compatible LLM endpoint. |
|
openai
|
|
|
chat
Package chat provides OpenAI's LLM, STT and TTS services, plus the OpenAI-compatible LLM base that other providers (Groq, Together, Fireworks and the rest) wrap with their own base URL, key and default model.
|
Package chat provides OpenAI's LLM, STT and TTS services, plus the OpenAI-compatible LLM base that other providers (Groq, Together, Fireworks and the rest) wrap with their own base URL, key and default model. |
|
internal/apierror
Package apierror reads the error an OpenAI API refuses a request with: the status, and the error code the body names.
|
Package apierror reads the error an OpenAI API refuses a request with: the status, and the error code the body names. |
|
internal/sdkretry
Package sdkretry sends a request the way OpenAI's SDK clients do: a request that failed for a reason that may not repeat is sent again, up to twice, after a short backoff or the wait the server asked for.
|
Package sdkretry sends a request the way OpenAI's SDK clients do: a request that failed for a reason that may not repeat is sent again, up to twice, after a short backoff or the wait the server asked for. |
|
realtime
Package realtime is a speech-to-speech service built on OpenAI's Realtime API.
|
Package realtime is a speech-to-speech service built on OpenAI's Realtime API. |
|
realtime/events
Package events holds the messages of OpenAI's Realtime API: the session's properties, the conversation items, and the events the client sends and the server sends back.
|
Package events holds the messages of OpenAI's Realtime API: the session's properties, the conversation items, and the events the client sends and the server sends back. |
|
responses
Package responses provides OpenAI's Responses API as an LLM service, in two forms.
|
Package responses provides OpenAI's Responses API as an LLM service, in two forms. |
|
Package openrouter provides OpenRouter's OpenAI-compatible LLM service, a gateway to many models behind one API.
|
Package openrouter provides OpenRouter's OpenAI-compatible LLM service, a gateway to many models behind one API. |
|
Package perplexity provides Perplexity's LLM services: the Agent API, which answers with web search over the OpenAI Responses protocol, and the Sonar chat completions API, which Perplexity no longer supports.
|
Package perplexity provides Perplexity's LLM services: the Agent API, which answers with web search over the OpenAI Responses protocol, and the Sonar chat completions API, which Perplexity no longer supports. |
|
Package piper is a text-to-speech provider for a local Piper HTTP server (python -m piper.http_server).
|
Package piper is a text-to-speech provider for a local Piper HTTP server (python -m piper.http_server). |
|
Package qwen provides Alibaba's Qwen LLM over the DashScope OpenAI-compatible endpoint.
|
Package qwen provides Alibaba's Qwen LLM over the DashScope OpenAI-compatible endpoint. |
|
Package resembleai is a streaming text-to-speech service backed by Resemble AI's WebSocket.
|
Package resembleai is a streaming text-to-speech service backed by Resemble AI's WebSocket. |
|
Package rime provides Rime's services: text-to-speech over Rime's HTTP API (NewTTS), over its WebSocket JSON API (NewRealtimeTTS) and over its WebSocket v1 protobuf API (NewV1TTS), and streaming speech-to-text over its gRPC API.
|
Package rime provides Rime's services: text-to-speech over Rime's HTTP API (NewTTS), over its WebSocket JSON API (NewRealtimeTTS) and over its WebSocket v1 protobuf API (NewV1TTS), and streaming speech-to-text over its gRPC API. |
|
internal/rimepb
Package rimepb holds the generated protobuf code for the subsets of Rime's API the services use: the gRPC client for the speech-to-text streaming RPC, and the WebSocket v1 envelopes of the text-to-speech API.
|
Package rimepb holds the generated protobuf code for the subsets of Rime's API the services use: the gRPC client for the speech-to-text streaming RPC, and the WebSocket v1 envelopes of the text-to-speech API. |
|
Package sambanova provides SambaNova Cloud's OpenAI-compatible LLM service.
|
Package sambanova provides SambaNova Cloud's OpenAI-compatible LLM service. |
|
Package sarvam provides Sarvam's OpenAI-compatible LLM plus its WebSocket streaming text-to-speech and speech-to-text services for Indian languages.
|
Package sarvam provides Sarvam's OpenAI-compatible LLM plus its WebSocket streaming text-to-speech and speech-to-text services for Indian languages. |
|
Package smallest provides Smallest AI's services: Electron, its LLM, over the Waves API's OpenAI-compatible endpoint; Pulse streaming speech-to-text; and streaming text-to-speech over the Waves WebSocket.
|
Package smallest provides Smallest AI's services: Electron, its LLM, over the Waves API's OpenAI-compatible endpoint; Pulse streaming speech-to-text; and streaming text-to-speech over the Waves WebSocket. |
|
Package soniox provides Soniox's real-time speech services over its WebSocket APIs.
|
Package soniox provides Soniox's real-time speech services over its WebSocket APIs. |
|
Package speechify provides Speechify text-to-speech over the HTTP API.
|
Package speechify provides Speechify text-to-speech over the HTTP API. |
|
Package speechmatics provides Speechmatics' speech services.
|
Package speechmatics provides Speechmatics' speech services. |
|
Package together provides Together AI's OpenAI-compatible LLM service and its streaming speech-to-text and text-to-speech services.
|
Package together provides Together AI's OpenAI-compatible LLM service and its streaming speech-to-text and text-to-speech services. |
|
Package whispercpp is a speech-to-text provider for a local whisper.cpp server.
|
Package whispercpp is a speech-to-text provider for a local whisper.cpp server. |
|
xai
|
|
|
grok
Package grok provides xAI's (Grok) services: an OpenAI-compatible LLM, real-time streaming speech-to-text, and text-to-speech in both a streaming WebSocket and a batch HTTP form.
|
Package grok provides xAI's (Grok) services: an OpenAI-compatible LLM, real-time streaming speech-to-text, and text-to-speech in both a streaming WebSocket and a batch HTTP form. |
|
realtime
Package realtime is a speech-to-speech service built on xAI's Realtime API.
|
Package realtime is a speech-to-speech service built on xAI's Realtime API. |
|
Package xtts provides text-to-speech via a self-hosted Coqui XTTS streaming server (https://github.com/coqui-ai/xtts-streaming-server).
|
Package xtts provides text-to-speech via a self-hosted Coqui XTTS streaming server (https://github.com/coqui-ai/xtts-streaming-server). |
Click to show internal directories.
Click to hide internal directories.