class OpenAI::CompletionStream

Defined in:

openai/api/completion.cr

Constructors

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

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::CompletionResponse)

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]