Ollama as embeddings provider

Hi, I have a similar query in this. I have experimented well with OpenAI’s API, But now I want to completely move to a self-hosted model.

The issue mentioned above is causing a hiccup. Is there any workaround for this?