Sparse Vectors with Golang?

Hi there, I’ve been digging through the Golang SDK and cannot find a way to generate Sparse Vectors. There is a struct representation that is used in the Vector struct, but no way to use the Inference Client to generate them.

Some guidance on how to accomplish this would be helpful!
Thanks

Hi @brandon, thanks for opening this! The Go SDK does not support generating sparse vectors quite yet. We expect this functionality to be available in the SDK at some point in January, so please check back then. Until then, you can use the Python client as described here: Encode sparse vectors - Pinecone Docs.