Truncated response from my Chat PDF application made using Streamlit and OpenAI API!

Hello, I have made a chat pdf bot where I can upload a PDF and it responds to my queries. When the answers are long the response gets truncated automatically. I am using streamlit for coding and Chat Gpt 3.5 turbo for API. Can you tell me the reason and how to fix it?

1 Like