Lotta folks have asked about where to keep basic app state in FastHTML. Here's a 40 line demo app showing a working chatbot, where state is stored in the HTML itself, so each session is fully isolated from each other: https://
github.com/AnswerDotAI/fa
sthtml-example/blob/main/02_chatbot/basic.py
…
FastHTML Chatbot Demo: Managing State in HTML
By
–
Leave a Reply