class OpenAI::ChatCompletionStream

Defined in:

openai/api/chat.cr

Constructors

Instance methods inherited from class OpenAI::StreamReader(OpenAI::ChatCompletionStreamResponse)

error_accumulator : ErrorAccumulator error_accumulator, finished? : Bool finished?, next next, reader : IO reader, response : HTTP::Client::Response | Nil response

Constructor methods inherited from class OpenAI::StreamReader(OpenAI::ChatCompletionStreamResponse)

new(empty_msgs_limit : Int32, io : IO | String, response : Nil | HTTP::Client::Response = nil) new

Constructor Detail

def self.new(empty_msgs_limit, io : IO | String, response = nil) #

[View source]