In my nocode app builder I have multiple chat boxes. Each associated with different assistants on the same thread. (assistant API / thread API)
There is a lot of context information available and required to be considered in each run (run API). Ex: the id(s) of the currently selected canvas objects, whether a pop-up is open editing a specific piece of data, a ui action that the user just did (changed selection, added a text field, zoomed an area).
I need to convey that so the chat is useful in context but don’t necessarily want to see the actual english text the user reads littered with this metadata. I considered sending json interspersed with the english and then filter this out from display after.
Also the speciality of the assistant (knows theme colors, can edit CSS styling, knows DB schemas etc.) though I believe I can use different assistantIds on same overarching thread so this is nicely solved. (Right?)
Thoughts?