First of all, this is perhaps the BEST implementation of Open AI Assistants API I've seen in an application. Thank you.
My issue is with the citations that get printed in responses such as 【9†source】. They're particularly a problem when I pass the response to a TTS block as the AI ends up speaking the citation itself ("nine plus source").
[SOLVED] I'm not a coder but ChatGPT helped me with this and I found a way to remove the citations by setting a variable with Javascript. In case anyone else might have a similar need, the code is below: