class

OpenAI::CreateConversationItemsRequestBody

Inherits JSON::Serializable < Reference < Object

Constructors

new(items : Array(InputItem) = [] of InputItem)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

items

The items to add to the conversation. You may add up to 20 items at a time.

Source
items=(items : Array(InputItem))

The items to add to the conversation. You may add up to 20 items at a time.

Source
validate!
Source