File Upload - Privacy

I have a very simple app where I upload PDF Documents, and the program extracts specific summary sections from the PDF, then runs it through OpenAI API to reword the summary section.

My question is - the PDF Document has some PI information, such as customer name, birth date, etc. Is this safe to use? I know the Streamlit File Uploader only keeps the files in RAM temporarily, so I think so but I wanted to see if this was correct or if I should be looking for other ways to securely dispose of the File Uploaded as soon as I extract the information I need.


@tk1205 it should be safe