@sqlrooms/ai-core / getChatAttachmentText
Function: getChatAttachmentText()
getChatAttachmentText(
attachment):string|undefined
Decodes the text payload from a base64 or percent-encoded data URL.
Parameters
| Parameter | Type |
|---|---|
attachment | FileUIPart |
Returns
string | undefined