struct

Anthropic::UploadFileRequest

Inherits Struct < Value < Object

Request to upload a file.

Constructors

from_base64(filename : String, base64_content : String, mime_type : String | Nil = nil) : self
Source
from_string(filename : String, content : String, mime_type : String | Nil = nil) : self
Source
new(filename : String, content : Bytes, mime_type : String | Nil = nil)
Source

Instance methods

content
Source
filename
Source
mime_type
Source