I’m new to langchain and AI , currently developing a PDFRAG app .
Currently , I’m able to upload a PDF , ask questions from it , the response is streamed back to me .
This is working fine .
Now , I want ChatGPT like functionality where the title of the response is larger in font size and bold and the subtitle / the text is smaller in font size and normal in style .
This is my app response to a query where I ask the model to generate a title and subtitle .
And this is AIPDF’s response .
I want my response like AIPDF .
What do I need to do ? I’m using Langchain and Streamlit to develop my application .
Searched streamlit and langchain docs.