Class: LLM::Response::Audio

Inherits:
LLM::Response show all
Defined in:
lib/llm/response/audio.rb

Overview

The LLM::Response::Audio class represents an audio file that has been returned by a provider. It wraps an IO object that can be used to read the contents of an audio stream (as binary data).

Instance Attribute Summary collapse

Method Summary

Methods inherited from LLM::Response

#body, #initialize

Constructor Details

This class inherits a constructor from LLM::Response

Instance Attribute Details

#audioStringIO

Returns:

  • (StringIO)


11
12
13
# File 'lib/llm/response/audio.rb', line 11

def audio
  @audio
end