-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or requeststatus:needs-triageAn issue that needs to be triaged by the Pinecone teamAn issue that needs to be triaged by the Pinecone team
Description
What motivated you to submit this feature request?
The openai SDK provides an embedding response of []float64. To interface with the pinecone SDK, I have to loop through every single embed to convert it to float32 and possibly drop precision in the process
Describe the solution you'd like
The pinecone SDK should receive a float32 or a float64
Describe alternatives you've considered
not using the Pinecone SDK for this request and making it manually
Additional context
https://platform.openai.com/docs/api-reference/embeddings/create mentions that the embedding response can be in float32 or float64
https://github.com/openai/openai-go/blob/main/embedding.go#L119 embedding response receives the values as a float64
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requeststatus:needs-triageAn issue that needs to be triaged by the Pinecone teamAn issue that needs to be triaged by the Pinecone team