lib/omniai/chat/chunk.rb in omniai-0.0.9 vs lib/omniai/chat/chunk.rb in omniai-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module OmniAI
class Chat
- # A delta returned by the API.
- class CompletionChunk
+ # A chunk returned by the API.
+ class Chunk
attr_accessor :data
# @param data [Hash]
def initialize(data:)
@data = data