Skip to content

[Feature Request] Float64 input #94

@qhenkart

Description

@qhenkart

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

Labels

enhancementNew feature or requeststatus:needs-triageAn issue that needs to be triaged by the Pinecone team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions