Skip to content

PersistentAI API Documentation / @persistentai/fireflow-nodes / parseAttachmentDataUri

Function: parseAttachmentDataUri()

parseAttachmentDataUri(dataUri): ResolvedAttachment

Defined in: packages/fireflow-nodes/src/nodes/persistentai/attachment-utils.ts:184

Parse a data URI into base64 and MIME type

Parameters

dataUri

string

Returns

ResolvedAttachment

Licensed under BUSL-1.1