Comments (7)
supabase start
-bash: supabase: command not found
this result all the time
I'm sure I have installed docker and run it in linux.
Any one could help me : (
from nextjs-openai-doc-search.
I believe that your OpenAI account has run out of balance, resulting in the inability to perform queries. You can try checking your account here https://platform.openai.com/account/usage
from nextjs-openai-doc-search.
Hi @deepchatwithai! A few things we need to debug here:
- How is your project structured? Is it based off a template or tutorial? Is your repo public & can you link it here so we can help debug?
- OpenAI keys shouldn't be used client side. Are you making requests to OpenAI directly from your client, or through a server (eg. edge function)?
- For the
supabase
CLI, confirming that you have installed it using these instructions? If you install vianpm
, you should prefix each command withnpx
:npx supabase ...
from nextjs-openai-doc-search.
Hi @deepchatwithai! A few things we need to debug here:
- How is your project structured? Is it based off a template or tutorial? Is your repo public & can you link it here so we can help debug?
- OpenAI keys shouldn't be used client side. Are you making requests to OpenAI directly from your client, or through a server (eg. edge function)?
- For the
supabase
CLI, confirming that you have installed it using these instructions? If you install vianpm
, you should prefix each command withnpx
:npx supabase ...
Thanks so much for your reply!
I'll try npx prefix first - -!
never used this before...
My test site was build up with vercel template, and had been reset last week.
I'll try it again.
and I suppose that the doc shall be vectored into supabase first, then the frontend could search after vectoring finished. Since I failed in vectoring docs, the frontend can't get any data.
Is my suppose be right?
Anyway, I'll try again and thanks so much for your reply and for the great work of supabase!
from nextjs-openai-doc-search.
Yep - you'll need to pre-process your docs (create embeddings + store in DB) first. Let me know if that works!
from nextjs-openai-doc-search.
Hello guys,
I am having the same issue trying to make it run. Actually, my node_module directory was missing - not a problem, but when I tried running npm install
I got this:
@PublicTrades ➜ /workspaces/nextjs-openai-doc-search-starter (main) $ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/typescript
npm ERR! typescript@"5.0.2" from the root project
npm ERR! peerOptional typescript@">=3.3.1" from [email protected]
npm ERR! node_modules/eslint-config-next
npm ERR! eslint-config-next@"13.2.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional typescript@">= 4.5.5 < 5" from [email protected]
npm ERR! node_modules/class-variance-authority
npm ERR! class-variance-authority@"^0.4.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/typescript
npm ERR! peerOptional typescript@">= 4.5.5 < 5" from [email protected]
npm ERR! node_modules/class-variance-authority
npm ERR! class-variance-authority@"^0.4.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/codespace/.npm/_logs/2023-05-25T03_35_55_229Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/codespace/.npm/_logs/2023-05-25T03_35_55_229Z-debug-0.log
@PublicTrades ➜ /workspaces/nextjs-openai-doc-search-starter (main) $
I am working on it via codespace, would this be the reason?
from nextjs-openai-doc-search.
You can find a step by step video guide here: https://youtu.be/xmfNUCjszh4
from nextjs-openai-doc-search.
Related Issues (20)
- Add native login capabilities HOT 1
- Chat list is not up to date / not working
- list of users do not appear in order
- Usage of gpt-3.5-turbo model HOT 15
- Add `vector-search` Vercel Edge Function
- I embedded a document that says: Hello, you are an actor. A very good actor. You can also speak Chinese. But there was no response when I asked. HOT 4
- 经常出现Sorry, I don't know how to help with that. HOT 1
- Not able to make this starter project work HOT 7
- Sorry, I don't know how to help with that. HOT 2
- Reply with images HOT 4
- Error: Cannot find module 'openai' HOT 4
- Anway to ask it what it knows? HOT 1
- Error: `Failed to match page sections: {"code":"PGRST301","details":null,"hint":null,"message":"JWSError JWSInvalidSignature"}` HOT 2
- Long replies breaks the app HOT 3
- Modify code to implement streaming (for serverless)
- Cannot generate embeddings HOT 12
- Page *page-name* or one/multiple of its page sections failed to store properly. Page has been marked with null checksum to indicate that it needs to be re-generated.
- Addressing Runtime Error on Initial Project Setup HOT 1
- Deployment Fails When Trying to Deploy Template From Vercel.ai Page HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-openai-doc-search.