struct AI::OpenAI::Responses::InputFile

Included Modules

Defined in:

ai/openai/responses/openai_responses_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(file_url : String | Nil = nil, file_id : String | Nil = nil, filename : String | Nil = nil, file_data : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def file_data : String | Nil #

[View source]
def file_id : String | Nil #

[View source]
def file_url : String | Nil #

[View source]
def filename : String | Nil #

[View source]
def type : String #

[View source]