View Source ExOpenAI.Components.ChatCompletionRequestMessage (ex_openai.ex v1.7.0)
Schema representing a ChatCompletionRequestMessage within the OpenAI API
Use any of these components: ["ChatCompletionRequestSystemMessage", "ChatCompletionRequestUserMessage", "ChatCompletionRequestAssistantMessage", "ChatCompletionRequestToolMessage", "ChatCompletionRequestFunctionMessage"]
Summary
Types
@type t() :: ExOpenAI.Components.ChatCompletionRequestFunctionMessage.t() | ExOpenAI.Components.ChatCompletionRequestToolMessage.t() | ExOpenAI.Components.ChatCompletionRequestAssistantMessage.t() | ExOpenAI.Components.ChatCompletionRequestUserMessage.t() | ExOpenAI.Components.ChatCompletionRequestSystemMessage.t()