Module: Whisper

Extended by:
FFI::Library
Defined in:
lib/whisper.rb,
lib/whisper.cpp.rb,
lib/whisper/model.rb,
lib/whisper/version.rb,
lib/whisper/audio_processor.rb

Defined Under Namespace

Classes: AudioProcessor, Model, WhisperAhead, WhisperAheads, WhisperBeamSearchParams, WhisperContextParams, WhisperFullParams, WhisperGrammarElement, WhisperGreedyParams, WhisperTokenData

Constant Summary collapse

WHISPER_SAMPLING_GREEDY =

Enums and Constants

0
WHISPER_SAMPLING_BEAM_SEARCH =
1
NOOP_LOG_CALLBACK =

Define a no-op log callback to suppress debug messages

FFI::Function.new(:void, [:int, :string, :pointer]) do |level, msg, user_data|
  # Intentionally do nothing to suppress logs
end
VERSION =
'0.3.3'