Class: Roseflow::OpenAI::EditResponse

Inherits:
TextApiResponse show all
Defined in:
lib/roseflow/openai/response.rb

Instance Method Summary collapse

Methods inherited from TextApiResponse

#body, #choices

Methods inherited from ApiResponse

#body, #initialize, #status, #success?

Constructor Details

This class inherits a constructor from Roseflow::OpenAI::ApiResponse

Instance Method Details

#responseObject



56
57
58
# File 'lib/roseflow/openai/response.rb', line 56

def response
  choices.first
end

#responsesObject



60
61
62
# File 'lib/roseflow/openai/response.rb', line 60

def responses
  choices
end