class

OpenAI::ChatCompletionRequestMessageContentPartRefusal

Inherits JSON::Serializable < Reference < Object

Constructors

new(type_value : ChatCompletionRequestMessageContentPartRefusalType = ChatCompletionRequestMessageContentPartRefusalType::Refusal, refusal : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

refusal

The refusal message generated by the model.

Source
refusal=(refusal : String)

The refusal message generated by the model.

Source
type_value

The type of the content part.

Source
type_value=(type_value : ChatCompletionRequestMessageContentPartRefusalType)

The type of the content part.

Source