MapsAttachments
trait MapsAttachments
Traits
Methods
string
fallbackFilename(string|null $mimeType)
Derive a filename for a nameless document from its MIME type.
array
bool
Details
in
ResolvesDocumentFilenames at line 12
protected string
fallbackFilename(string|null $mimeType)
Derive a filename for a nameless document from its MIME type.
at line 30
protected array
mapAttachments(Collection $attachments)
Map the given Hypervel attachments to xAI content parts.
at line 102
protected bool
isImage(UploadedFile $attachment)
Determine if the given uploaded file is an image.