Class: LLM::Response::AudioTranscription

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

Overview

The LLM::Response::AudioTranscription class represents an audio transcription that has been returned by a provider (eg OpenAI, Gemini, etc)

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

#textString

Returns the text of the transcription

Returns:

  • (String)


12
13
14
# File 'lib/llm/response/audio_transcription.rb', line 12

def text
  @text
end