View Source ExOpenAI.Components.CreateChatCompletionStreamResponse (ex_openai.ex v1.5.1)
Schema representing a CreateChatCompletionStreamResponse within the OpenAI API
Summary
Types
@type t() :: %ExOpenAI.Components.CreateChatCompletionStreamResponse{ choices: [ %{ delta: ExOpenAI.Components.ChatCompletionStreamResponseDelta.t(), finish_reason: :function_call | :content_filter | :tool_calls | :length | :stop, index: integer() } ], created: integer(), id: String.t(), model: String.t(), object: :"chat.completion.chunk", system_fingerprint: String.t() | nil }