pinecone-io / pinecone-vercel-starter

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

Clarify what happened on successful upsert #33

Open zackproser opened 6 months ago

zackproser commented 6 months ago

On successful upsert, we currently show:

Like this:

vercel-starter-results-count

I think this feature is awesome, but it could be more clear what happened. Something like:

N results successfully converted to embeddings and upserted to your Pinecone index: ${process.env.PINECONE_INDEX}

zackproser commented 6 months ago

By the way, it might be a nice change to also add a fetching, crawling, scraping, etc state to the frontend app.

Currently, the button only says "embed and upsert" so it's less clear that the app is actually:

A lower lift that could accomplish the same end goal would be a sentence or two of descriptive text above the "embed and upsert" button explaining what the app is doing when you click that button?