Relative Content

Tag Archive for next.jsstreamingopenai-apivisionchat-gpt-4

response problem with chat-gpt 4 and vision in next.js

the problem is that i want to make a web app with next.js that takes a name and a url and a market and a target audience of a landing page and sent this to gpt4 and he criticizes it but when i get a response it gets weird putting a 0 before every chunk because i want to stream it
heres the code for route.ts in app/api/analyze: