SciPhi-AI / R2R

The Elasticsearch for RAG. Build, scale, and deploy state of the art Retrieval-Augmented Generation applications
https://r2r-docs.sciphi.ai/
MIT License
3.25k stars 238 forks source link

r2r.providers.database.vecs.exc.MismatchedDimension #861

Open heririta opened 1 month ago

heririta commented 1 month ago

r2r.providers.database.vecs.exc.MismatchedDimension: Mismatch in the reported dimensions of the selected vector collection and embedding model. Correct the selected embedding model or specify a new vector collection by modifying the POSTGRES_VECS_COLLECTION environment variable.

please help me , I don't use embedding from OpenAI

emrgnt-cmplxty commented 1 month ago

Hi Herirta, try changing your POSTGRES_COLLECTION environment varaible.

The likely culprit is that you attempted ot R2R with a given configuration and then changed your embedding model without updating the collection for your project.