class

OpenAI::RefusalContent

Inherits JSON::Serializable < Reference < Object

A refusal from the model.

Constructors

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

Instance methods

refusal

The refusal explanation from the model.

Source
refusal=(refusal : String)

The refusal explanation from the model.

Source
type_value

The type of the refusal. Always refusal.

Source
type_value=(type_value : RefusalContentType)

The type of the refusal. Always refusal.

Source