Keep your data private and don't leak it to third parties. Use something like privateGPT (32k stars). Not your keys, not your data.
"Interact privately with your documents using the power of GPT, 100% privately, no data leaks"[0]
"Interact privately with your documents using the power of GPT, 100% privately, no data leaks"[0]
I've not got it to work yet though, it ends up hallucinating answers to all the questions about documents I feed it.
If so set your archflags during pip install. eg: ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt
And this is probably illegal in several countries besides that since queries might have medical information or other protected data.