What are better alternatives to cosine similarity?
You may not want to use cosine similarity as your only metric for rankings, however, and you may want to experiment with how you construct the embeddings.
There is a whole branch of mathematics called dedicated to other ways to measure distance.
If your embeddings aren't normalized it's worth trying. In our use cases it never made a substantial difference, but I imagine there are cases where it does.