PersistentAI API Documentation / @persistentai/fireflow-nodes / detectMimeTypeFromContent
Function: detectMimeTypeFromContent()
detectMimeTypeFromContent(
text):string
Defined in: packages/fireflow-nodes/src/nodes/persistentai/attachment-utils.ts:205
Detect MIME type from plain text content by analyzing its structure
Parameters
text
string
Returns
string