pinecone-io / pinecone-vercel-starter

Pinecone + Vercel AI SDK Starter
https://pinecone-vercel-example.vercel.app
418 stars 127 forks source link

PINECONE_INDEX should be created if not exists #35

Open zackproser opened 8 months ago

zackproser commented 8 months ago

To ease the getting started path, if the user sets a PINECONE_INDEX value that doesn't already exist as an index in their account, we should create it first using the waitUntilReady param in the latest TypeScript client's createIndex call.