Packages

vLLM for Elixir via SnakeBridge - Easy, fast, and cheap LLM serving for everyone. High-throughput LLM inference with PagedAttention, continuous batching, and OpenAI-compatible API.

Current section

Files

Jump to
vllm lib snakebridge_generated vllm config speech_to_text_config.ex
Raw

lib/snakebridge_generated/vllm/config/speech_to_text_config.ex

# Generated by SnakeBridge v0.15.1 - DO NOT EDIT MANUALLY
# Regenerate with: mix compile
# Library: vllm 0.14.0
# Python module: vllm.config
# Python class: SpeechToTextConfig
defmodule Vllm.Config.SpeechToTextConfig do
@moduledoc """
Configuration for speech-to-text models.
"""
def __snakebridge_python_name__, do: "vllm.config"
def __snakebridge_python_class__, do: "SpeechToTextConfig"
def __snakebridge_library__, do: "vllm"
@opaque t :: SnakeBridge.Ref.t()
@doc """
Constructs `SpeechToTextConfig`.
## Parameters
- `dataclass_self__` (term())
- `args` (term())
- `kwargs` (term())
"""
@spec new(term(), term(), term(), keyword()) ::
{:ok, SnakeBridge.Ref.t()} | {:error, Snakepit.Error.t()}
def new(dataclass_self__, args, kwargs, opts \\ []) do
SnakeBridge.Runtime.call_class(__MODULE__, :__init__, [dataclass_self__, args, kwargs], opts)
end
@spec allow_audio_chunking(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
def allow_audio_chunking(ref) do
SnakeBridge.Runtime.get_attr(ref, :allow_audio_chunking)
end
@spec max_audio_clip_s(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
def max_audio_clip_s(ref) do
SnakeBridge.Runtime.get_attr(ref, :max_audio_clip_s)
end
@spec min_energy_split_window_size(SnakeBridge.Ref.t()) ::
{:ok, term()} | {:error, Snakepit.Error.t()}
def min_energy_split_window_size(ref) do
SnakeBridge.Runtime.get_attr(ref, :min_energy_split_window_size)
end
@spec overlap_chunk_second(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
def overlap_chunk_second(ref) do
SnakeBridge.Runtime.get_attr(ref, :overlap_chunk_second)
end
@spec sample_rate(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
def sample_rate(ref) do
SnakeBridge.Runtime.get_attr(ref, :sample_rate)
end
end