Comments (2)
I solved my issue with a few changes:
Manually installed pnpm manually: curl -fsSL https://get.pnpm.io/install.sh | sh -
in my opinion this is an annoying dependency and would be simpler to not use, any idea why it is used?
No storage option exists to persist the session, which may result in unexpected behavior when using auth.
If you want to set persistSession to true, please provide a storage option or you may set persistSession to false to disable this warning.
Failed to generate completion: {"error":{"message":"The server had an error while processing your request. Sorry about that!","type":"server_error","param":null,"code":null}}
To solve this warning message I had to create a new file in components:
import { createClient } from '@supabase/supabase-js'
const supabaseUrl = 'snip'
const supabaseKey = 'snip'
const supabase = createClient(supabaseUrl, supabaseKey, {
persistSession: true, // add persistSession here
localStorage: window.localStorage, // storage option
})
There are a couple of issues with output still. My source is in standard markdown files and the markdown does not get stripped out properly per this image. Also there is no scroll up option in the chat window making earlier generated content unreadable. It also seems to sometimes produce more output then needed.
from nextjs-openai-doc-search.
This example doesn't use any auth, therefore persistSession
needs to be set to false
.
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
- 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
- New user of supabase, how can I add datas and files STEP BY STEP into supabase and let them connect with my website? HOT 7
- 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.