-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Labels
Description
When Embeddings are created, they have an EncodingFormat which can either be of float of base64 as seen in
openai-java/openai-java-core/src/main/kotlin/com/openai/models/EmbeddingCreateParams.kt
Line 903 in 6390dfd
| companion object { |
Unless this is configured by the user, base64 should be the default, as this will provide a significant performance improvement.
Here's a similar issue:
- In the Python SDK: feat(embeddings): use stdlib array type for improved performance openai-python#2060 (that's the original issue, that was just merged)
- In the JavaScript SDK: Perf: Improve vector embeddings creation by 60% openai-node#1310
As this SDK is generated, we can't contribute directly to it, but I'd be happy to help fix this.