struct

OpenAI::Client::LastResponse

Inherits Struct / Value / Object

Constructors

new(date : Time, organization : String, processing_ms : Int32, request_id : String, response : HTTP::Client::Response)
Source
new(response : HTTP::Client::Response)
Source

Instance methods

clone
Source
copy_with(date _date = @date, organization _organization = @organization, processing_ms _processing_ms = @processing_ms, request_id _request_id = @request_id, response _response = @response)
Source
date
organization
processing_ms
request_id
response

Macros

method_missing(call)
Source