Error when going through Semantic Search Example

I am going through the semantic search Typescript example and I get this error

response.body.getReader is not a function

That seems to be related to the xenova library. Anyone knows how to solve it?

Hi @antodifrancisco

Thanks for your question, and I’m sorry you’re encountering issues.

Please let me know which version of the Pinecone TypeScript client you’re running?

The reason I’m asking is that we just updated our Pinecone here to a new major release, and we even have a migration guide here.

Also, feel free to share the actual stack trace you’re getting and any relevant line numbers for where the example is failing for you.

I hope this helps!