Trying to understand how I can run an embedding model locally on my computer to avoid sending sensitive data to cloud server.
In the documentation, HuggingFaceEmbedding is the class that’s used for local embeddings. Is that taking care of downloading the model from HuggingFace or do I have to make a manual installation of the model first?
When using a local embedding model, I have now understood that I have to define how many dimensions the models are using. What I dont get is /where/ in my code I do this. The way I understand the docs, it should be when configuring the StorageContext before loading the index. But StorageContext doesn't accept as an argument. So that isn't it.
I'm not using any addon vector store yet, just following the Start Tutorial. Is that what's causing me trouble when switching to local embedding model?