class

OpenAI::MessageContentRefusalObject

Inherits JSON::Serializable < Reference < Object

The refusal content generated by the assistant.

Constructors

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

Instance methods

refusal
Source
refusal=(refusal : String)
Source
type_value

Always refusal.

Source
type_value=(type_value : MessageContentRefusalObjectType)

Always refusal.

Source