mckaywrigley / repo-chat

Use AI to ask questions about any GitHub repo.
MIT License
604 stars 108 forks source link

Steps to resolve the "type vector does not exist" error #4

Open gijigae opened 1 year ago

gijigae commented 1 year ago

While running the schema.sql, if you encounter the "type vector does not exist" error, install the vector extension in Supabse (see the image below). That should resolve the issue.

image

takuya0206 commented 1 year ago

I have got the same issue and solved it by adding the following line to the schema.sql. Let me suggest @mckaywrigley to change the code accordingly.

create extension if not exists vector with schema public;

DevMentat commented 1 year ago

Oh thank you, I was blocked on the same issue 😅