Comments (4)
Anyone have any luck with being able to do this ? I've tried getting the a,i to add the <img tag into it's replies, but it's still just text.
Is this something that's possible?
from nextjs-openai-doc-search.
Hey @musashi-garami, agreed it would be great to support markdown in this project. In the mean time, feel free to check out how we do this in the Supabase docs/dashboard using ReactMarkdown
:
from nextjs-openai-doc-search.
Ok that looks perfect! But I'm struggling to install react-markdown. I normally use NPM but I see this builds with PNPM and vercel is not building, I'm assuming due to incorrect pnpm-lock.yaml file ? But I'm not experienced with PNPM, I installed latest PNPM, I tried to PNPM install react-markdown but didn't work.. so I NPM install react-markdown, but with my limited understanding it appears the pnpm-lock.yaml is not adding react-markdown as a dependency (which is failing the vercel build)
from nextjs-openai-doc-search.
Nevermind, looks like PNPM wasn't working in VS code terminal due to windows permissions, i ran in admin powershell and it installed properly.
Then another build error, was passing {completion} as a children prop to react-markdown (as their docs describe) but ESLint rules is not happy with that so passed {completion} between the react markdown tags
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
- 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.