Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Float64 input #94

Open
qhenkart opened this issue Jan 25, 2025 · 0 comments
Open

[Feature Request] Float64 input #94

qhenkart opened this issue Jan 25, 2025 · 0 comments
Labels
enhancement New feature or request status:needs-triage An issue that needs to be triaged by the Pinecone team

Comments

@qhenkart
Copy link

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

@qhenkart qhenkart added the enhancement New feature or request label Jan 25, 2025
@github-actions github-actions bot added the status:needs-triage An issue that needs to be triaged by the Pinecone team label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request status:needs-triage An issue that needs to be triaged by the Pinecone team
Projects
None yet
Development

No branches or pull requests

1 participant