View Source ExOpenAI.Components.ChatCompletionRequestMessageContentPartRefusal (ex_openai.ex v2.0.0-beta2)

Module for representing the OpenAI schema ChatCompletionRequestMessageContentPartRefusal.

Fields

  • :refusal - required - String.t()
    The refusal message generated by the model.

  • :type - required - :refusal
    The type of the content part.
    Allowed values: "refusal"

Summary

Types

@type t() :: %ExOpenAI.Components.ChatCompletionRequestMessageContentPartRefusal{
  refusal: String.t(),
  type: :refusal
}