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
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
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
The text was updated successfully, but these errors were encountered: