You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(embedding): always request embedding creation as base64
Requesting base64 encoded embeddings returns smaller body sizes, on average ~60% smaller than float32 encoded. In other words, the size of the response body containing embeddings in float32 is ~2.3x bigger than base64 encoded embedding.
We always request embedding creating encoded as base64, and then decoded them to float32 based on the user's provided encoding_format parameter.
Closes#1310
0 commit comments