The way I programmed the demo there is one main function that handles the system_message input and stuff. I demonstrated how to use all this stuff I published in the chatbot demo. I tried to code it as neat as I could at the time. to make it understandable for everyone. If you’re interested in a custom implementation reading the code in the chatbot demo should be very educational. It’s written very well.
1 Like