Chainlit is my new favorite Python webapp framework, it’s especially geared toward UI for LLM chat apps. (It has nothing to do with LangChain fortunately, though it does support it and the name probably is inspired by it).
There are unique challenges in making a decent looking chat app. State management is one such. Streamlit’s approach is to rerun the script on every action, which means your code needs to be aware of this, and this usually results in headaches and spaghetti code. Chainlit has a clean approach — I don’t know what they do under the hood but at least from a dev POV it’s far simpler.
I’d be interested to see how a basic chat app is built with Dropbase so I can compare.
Looks interesting! I'll check it out. We don't currently focus on chat apps and don't have a chat component yet so it'd be significantly harder to do this.
There are unique challenges in making a decent looking chat app. State management is one such. Streamlit’s approach is to rerun the script on every action, which means your code needs to be aware of this, and this usually results in headaches and spaghetti code. Chainlit has a clean approach — I don’t know what they do under the hood but at least from a dev POV it’s far simpler.
I’d be interested to see how a basic chat app is built with Dropbase so I can compare.