OpenAI::CreateContainerBody
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(name : String = "", file_ids : Array(String) | Nil = nil, expires_after : CreateContainerBodyExpiresAfter | Nil = nil, memory_limit : CreateContainerBodyMemoryLimit | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
expires_after=(expires_after : CreateContainerBodyExpiresAfter | Nil)
Container expiration time in seconds relative to the 'anchor' time.
memory_limit=(memory_limit : CreateContainerBodyMemoryLimit | Nil)
Optional memory limit for the container. Defaults to "1g".