class

OpenAI::ChatSessionFileUpload

Inherits JSON::Serializable < Reference < Object

Upload permissions and limits applied to the session.

Constructors

new(enabled : Bool = false, max_file_size : ChatSessionFileUploadMaxFileSize = nil, max_files : ChatSessionFileUploadMaxFiles = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

enabled

Indicates if uploads are enabled for the session.

Source
enabled=(enabled : Bool)

Indicates if uploads are enabled for the session.

Source
max_file_size
Source
max_file_size=(max_file_size : ChatSessionFileUploadMaxFileSize)
Source
max_files
Source
max_files=(max_files : ChatSessionFileUploadMaxFiles)
Source