Interface: AttachmentArtifactInput
Makaio Framework / services-core / AttachmentArtifactInput
Interface: AttachmentArtifactInput
Section titled “Interface: AttachmentArtifactInput”Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:26
Properties
Section titled “Properties”content?
Section titled “content?”
optionalcontent?:string
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:40
Base64-encoded content, when the source was base64 data.
filePath?
Section titled “filePath?”
optionalfilePath?:string
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:38
Absolute file path on disk, when available.
id:
string
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:28
Unique artifact identifier.
metadata
Section titled “metadata”metadata:
AttachmentArtifactMetadata
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:42
Structured metadata linking the artifact back to its origin.
mimeType
Section titled “mimeType”mimeType:
string
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:36
MIME type of the attached file.
scope:
"session"
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:30
Always ‘session’ for attachment artifacts created from message blocks.
sessionId
Section titled “sessionId”sessionId:
string
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:32
Session the artifact belongs to.
type:
"user-upload"
Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:34
Always ‘user-upload’ for attachment artifacts.