Skip to content

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

Function: detectAttachmentSourceType()

detectAttachmentSourceType(source): AttachmentSourceType

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

Detect the type of attachment source from the string

Parameters

source

string

Returns

AttachmentSourceType

Licensed under BUSL-1.1