Sends texts to the embeddings API and returns their vectors, in the same order.
when the API cannot be reached, returns an error, or returns something that is not a vector for each text.