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