class

OpenAI::MessageDeltaContentRefusalObject

Inherits JSON::Serializable < Reference < Object

The refusal content that is part of a message.

Constructors

new(index : Int64 = 0, type_value : MessageDeltaContentRefusalObjectType = MessageDeltaContentRefusalObjectType::Refusal, refusal : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

index

The index of the refusal part in the message.

Source
index=(index : Int64)

The index of the refusal part in the message.

Source
refusal
Source
refusal=(refusal : String | Nil)
Source
type_value

Always refusal.

Source
type_value=(type_value : MessageDeltaContentRefusalObjectType)

Always refusal.

Source