pinecone-io / pinecone-vercel-starter

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

Use .text instead of .chunk #25

Open hyfather opened 9 months ago

hyfather commented 9 months ago

The metadata that I get from pinecone has no field called Chunk. This seemed to work for me.

Problem

Example doesn't work

Solution

Use .text instead of .chunk