mattgraphlan
Results
2
comments of
mattgraphlan
One thing that helped me was getting rid of the neon websocket adapter. I had: ```ts import ws from "ws"; if (typeof WebSocket === "undefined") { neonConfig.webSocketConstructor = ws; }...
FWIW, this works in place of `ns.query` above: ```ts const url = `https://${process.env.PINECONE_HOST!}/query`; const res = await fetch(url, { method: "POST", headers: { accept: "application/json", "Content-Type": "application/json", "Api-Key": process.env.PINECONE_API_KEY ||...