Using Huggingface Embeddings completely locally

I think it isn’t possible at this moment. There are two opened issues at langchain github about it. But a guy found a work around for the problem by loading the embedding model via Transformers class.
You can see here: Issue: HuggingFaceEmbeddings can not take trust_remote_code argument · Issue #6080 · langchain-ai/langchain · GitHub
Check comment of Nafay-0on Nov 9, 2023.