I send a text when I want to query or perform some time-consuming AI tasks. I have two tasks in a series, and just between them I use something like this and send it as a regular message:
const pleaseWaitOptions = [
'Just a few seconds more, please hang in there ๐',
'Give me just a moment, almost there ๐',
"A little patience, it won't be long ๐",
'Holding on for a few more seconds, thank you ๐',
'Almost done, just a couple of seconds ๐',
'This will take just a bit, stay with me ๐',
"A brief pause, we're nearly there ๐",
"Hang tight, we're almost through ๐",
'Just a little longer, I appreciate your patience ๐',
'Bear with me, wrapping up shortly ๐',
"We're close, just a few seconds more ๐",
"Hang on a sec, we're nearly finished ๐",
'Just rounding the corner, a moment more ๐',
"It's just around the bend, hang tight ๐",
'A tiny bit longer, thanks for waiting ๐',
"We're on the home stretch, just a bit more ๐",
'Just tying up the loose ends, bear with me ๐',
"Finalizing things, it won't take long ๐",
'A few seconds to go, thanks for your patience ๐',
'Nearly there, just a moment ๐',
'Wrapping up, hang on ๐',
'Just finalizing, bear with me for a second ๐',
'Give me a moment to finish up ๐',
"We're almost done, just a bit longer ๐",
"Stay with me, I'm finishing up now ๐",
'Almost at the finish line, a second more ๐',
"I'm wrapping up, it will take a minute ๐",
'Final touches, just a second ๐'
]
const randomNumber = Math.floor(Math.random() * pleaseWaitOptions.length)
workflow.pleaseWait = pleaseWaitOptions[randomNumber]
I know it will not disappear as "typing..." but at least let the user know that something is happening.