Skip to content

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

Function: resolveAttachmentData()

resolveAttachmentData(input): Promise<ResolvedAttachment>

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

Resolve AttachmentInput to base64 format ready for API calls. Uses explicit sourceType from input to determine how to process the source.

Parameters

input

AttachmentInput

Returns

Promise<ResolvedAttachment>

Licensed under BUSL-1.1