FCL-LM / privateGPT

Interact privately with your documents using the power of GPT, 100% privately, no data leaks
Apache License 2.0
0 stars 0 forks source link

Startup of the application requires a connection to get the hugging face embeddings #12

Open josura opened 1 year ago

josura commented 1 year ago

When the application is executed without an internet connection, the program does not resolve the sentence-transformers for the sources embeddings: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/sentence-transformers/all-MiniLM-L6-v2 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7feaa33a1810>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

So the application needs an active connection to the internet, at least at startup.

SOLUTION

download the sentence transformers before if the application needs to be completely isolated