Vllm.Config.SpeechToTextConfig (VLLM v0.3.0)

Copy Markdown View Source

Configuration for speech-to-text models.

Summary

Types

t()

@opaque t()

Functions

allow_audio_chunking(ref)

@spec allow_audio_chunking(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}

max_audio_clip_s(ref)

@spec max_audio_clip_s(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}

min_energy_split_window_size(ref)

@spec min_energy_split_window_size(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}

new(dataclass_self__, args, kwargs, opts \\ [])

@spec new(term(), term(), term(), keyword()) ::
  {:ok, SnakeBridge.Ref.t()} | {:error, Snakepit.Error.t()}

Constructs SpeechToTextConfig.

Parameters

  • dataclass_self__ (term())
  • args (term())
  • kwargs (term())

overlap_chunk_second(ref)

@spec overlap_chunk_second(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}

sample_rate(ref)

@spec sample_rate(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}