When I try to follow Nate his course, the first workflow of pinecone vector store if I try to run it I come through an error
The error message:
Vector dimension 1536 does not match the dimension of the index 512
means that the embeddings you are trying to insert into your Pinecone index have a vector size (dimension) of 1536, but your Pinecone index basvida is configured to accept vectors of dimension 512.
Actionable Solution:Check which embedding model you are using in your workflow. For example, OpenAI's text-embedding-ada-002 model produces 1536-dimensional vectors. If your Pinecone index is set to 512 dimensions, you must either:
- Change your embedding model to one that outputs 512-dimensional vectors, or
- Recreate your Pinecone index basvida with a dimension of 1536 to match your embedding output.
Even tho I followed all Nate his steps correctly and I choose the right language model it still gives me the error anybody an idea on how I can solve this?