Yes, it’s supposed to be equivalent to send many strings in, and get many embeddings out.
I do this with batches of 500 at a time.
However, I have noticed two things:
sometimes, I get NaN back for the embeddings; I have to re-try these
the same string, embedded more than once, may return slightly different embeddings for each iteration
I usually run the call multiple times for a going through a bunch of strings. While it may feel a bit more time consuming, I have found the results to be far more consistent in terms of not encountering NaN’s and the similarity scores with my test string being the same or off by an insignificant amount