Iām trying to build an app with a tab that contains a chatbot arena, very similar to what https://chat.lmsys.org/ is doing, but Iām unable to find a simple example (or even an example) for this.
The idea is that one can send the same message to two different apis that answer in streaming mode. I know that lmsys arena is exaclty that, but the code is convoluted and am not able to find the right file or a simple explanation.
Is there a better example?