class

OpenAI::CreateEvalItemSimpleInputMessage

Inherits JSON::Serializable < Reference < Object

Constructors

new(role : String = "", content : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content

The content of the message.

Source
content=(content : String)

The content of the message.

Source
role

The role of the message (e.g. "system", "assistant", "user").

Source
role=(role : String)

The role of the message (e.g. "system", "assistant", "user").

Source