Class: Ultrasafeai::Types::ChatCompletionChunk
- Inherits:
-
Internal::Types::Model
- Object
- Internal::Types::Model
- Ultrasafeai::Types::ChatCompletionChunk
- Defined in:
- lib/ultrasafeai/types/chat_completion_chunk.rb
Overview
A streamed chunk of a chat completion response returned by the model. Accumulate chunks with the same id to
reconstruct the full message.
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