Class: Ultrasafeai::Types::ChatCompletionChunkUsage
- Inherits:
-
Internal::Types::Model
- Object
- Internal::Types::Model
- Ultrasafeai::Types::ChatCompletionChunkUsage
- Defined in:
- lib/ultrasafeai/types/chat_completion_chunk_usage.rb
Overview
Present only on the final chunk when stream_options.include_usage is true. Contains token usage statistics for the entire request.
Method Summary
Methods inherited from Internal::Types::Model
#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h
Methods included from Internal::Types::Type
Methods included from Internal::JSON::Serializable
Constructor Details
This class inherits a constructor from Ultrasafeai::Internal::Types::Model