Am I using Embeddings wrong or is it the wrong approach

Well found the solution in the end.

I just use the FlagEmbedding library from python with a given example from a huggingface model.