Confidentiality of data

I have not yet completed the course. But in the second video for document loader, I noticed that we are using the OpenAI APIs. Is the custom data being accessed private or will it be exposed to public because of OpenAI APIs?

Thanks
Nitin