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
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