I’ve integrated ChatScript with a text-to-speech service so that my bot responds with audio instead of text.
To minimise latency and cost, I am caching the audio for each response so that I only ever have to request it once from the TTS service. In order to populate this cache, I currently have to talk to the bot manually and make sure I hit all of the variations of each response so that previously-unseen responses are sent to the TTS service.
Is there a function I can use to dump all possible responses to a file, or perhaps something similar to :verify that will exhaustively run test phrases and record the output?
I guess I could write a script to extract all of the #! comments and feed them into the bot, but I’m just wondering if there’s anything within ChatScript itself that could help with this task.