I went through 's Introduction to LangChain, which was a lot of fun. By the end of the tutorial, I was able to question the AI about the contents of a YouTube video where Lex Fridman interviews Sam Altman. Fun! I took that code and adapted it to Dave's project — done, an interactive web session where you can ask your AI about the video and it will answer you. So far, so good. However, the formatting of the response is a bit meh — no paragraphs, one big piece of text.
Does anybody have experience in formatting text output using StreamLit?