Streamlit Chat Markdown Tables from ChatGPT


Hi, i want to display tables generated by ChatGPT as Markdown for the user. Is there a solution without hard coding a big function?


You will have to write some code and encapsulating it in a function is probably a good idea. I wouldnโ€™t expect the function to be really โ€œbigโ€, but that depends on the details of the ChatGPT-generated data.

Have you resolved this yet?

You can just use st.markdown to display ChatGPT responses.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.