Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / FileInput

Type Alias: FileInput

FileInput = FileReference | string

Defined in: packages/fireflow-types/src/file/file-input.ts:28

FileInput - Flexible input type for file ports

Accepts:

  • FileReference object (preferred)
  • String fileId (FI prefix format, 22 chars)
  • String URL (http/https)
  • String data URI (data:mime;base64,...)
  • String raw base64 (legacy support, will be deprecated)

Licensed under BUSL-1.1