-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to make this starter project work #23
Comments
This seems to be an error within the vercel edge function. Can you check the logs in your vercel Dashboard please? |
Yeah I'm getting same behaviour on the 'Deploy direct to vercel starter version' and definitely getting some errors with the edge function "/api/vector-search" TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) |
Can you try running the project locally and see if that renders any more helpful error messages? If you need some help with the local development steps, can follow the video guide: https://www.youtube.com/watch?v=xmfNUCjszh4 |
i am facing the similar issue on deploying |
I encountered this exact error and realized my role key and anon key is missing. Do this:-
I am running a local version, not the cloud deploy |
Using the supabase keys from
Edit: The issue was the OpenAI. Despite having given them my payment info and generated an API key, I needed to enable the api by
|
Thanks for outlining the resolution steps. Closing this out. |
Bug report
Describe the bug
I followed the exact same steps to locally deploy this starter project but it gives an error
A clear and concise description of what the bug is.
I added my OpenAI key and supabase keys, started my docker and then supabase. I can see the embeddings in the supabase and the openAI API is also working as I can see the usage increasing in the dashboard.
I am not able to get the response as in the screenshot attached -
![Screenshot 2023-05-26 at 1 25 03 PM](https://private-user-images.githubusercontent.com/97289118/241157119-a397b0b9-227c-4ef8-a6e9-614a74540cb3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2OTQ3ODgsIm5iZiI6MTcyMTY5NDQ4OCwicGF0aCI6Ii85NzI4OTExOC8yNDExNTcxMTktYTM5N2IwYjktMjI3Yy00ZWY4LWE2ZTktNjE0YTc0NTQwY2IzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDAwMjgwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFkNWUzOTJmNTY2YTI0Mzc1ZDQ0YmVmMjZjOTM4MDVlODViYWJkZThkZDQ2OGMyNDRkYjU1NGY5OTA4YmM2MmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.s0HnWq4y4EoDOYbWYzWPggS2Y2o79n9yGX9397yfuJs)
The error is -
CustomEvent {isTrusted: false, data: '{"error":"There was an error processing your request"}', source: SSE, detail: null, type: 'error', …}
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Clone this repo
Did
npm i
to install dependenciesGot the API keys and added them to .env
Set up docker and supabase
then run
pnpm dev
Expected behavior
Recieve an error like I am getting
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
I am not much familiar with supabase and openAI so not sure about this error. Would really appreciate help on this. Also if there is discord support available I can hop there too. I am building a project with very same usecase. Followed @gregnr 's video on youtube
The text was updated successfully, but these errors were encountered: