Class: Roseflow::OpenAI::CompletionResponse
- Inherits:
-
TextApiResponse
- Object
- ApiResponse
- TextApiResponse
- Roseflow::OpenAI::CompletionResponse
- Defined in:
- lib/roseflow/openai/response.rb
Instance Method Summary collapse
Methods inherited from TextApiResponse
Methods inherited from ApiResponse
#body, #initialize, #status, #success?
Constructor Details
This class inherits a constructor from Roseflow::OpenAI::ApiResponse
Instance Method Details
#response ⇒ Object
46 47 48 |
# File 'lib/roseflow/openai/response.rb', line 46 def response choices.first end |
#responses ⇒ Object
50 51 52 |
# File 'lib/roseflow/openai/response.rb', line 50 def responses choices end |