Welcome to Portkey Forum

Updated 3 months ago

The order of embeddings is maintained when sending a list of strings.

Also, side question. When sending a list of strings to be embedded, does the return maintain the order? ie. if I send "hello", "world", will the embeddings for hello be index 0 and world be 1?
G
M
2 comments
it should be, if it is not in order, it would be the provider doing it, because portkey does not change the internal array indices
awesome thanks for the response πŸ™‚
Add a reply
Sign up and join the conversation on Discord