struct OpenAI::Client::LastResponse
- OpenAI::Client::LastResponse
- Struct
- Value
- Object
Defined in:
openai/client.crConstructors
- .new(date : Time, organization : String, processing_ms : Int32, request_id : String, response : HTTP::Client::Response)
- .new(response : HTTP::Client::Response)
Instance Method Summary
- #clone
- #copy_with(date _date = @date, organization _organization = @organization, processing_ms _processing_ms = @processing_ms, request_id _request_id = @request_id, response _response = @response)
- #date : Time
- #organization : String
- #processing_ms : Int32
- #request_id : String
- #response : HTTP::Client::Response
Macro Summary
Constructor Detail
def self.new(date : Time, organization : String, processing_ms : Int32, request_id : String, response : HTTP::Client::Response)
#
Instance Method Detail
def copy_with(date _date = @date, organization _organization = @organization, processing_ms _processing_ms = @processing_ms, request_id _request_id = @request_id, response _response = @response)
#