How to Use GPT-4V With Next.js 14 | Text Streaming, Image Upload, and More!

  Рет қаралды 6,080

Cooper Codes

Cooper Codes

Күн бұрын

Пікірлер: 28
@devsirat
@devsirat 10 ай бұрын
I like how you always focus on the most important stuff instead of things like tailwind classes.
@CooperCodes
@CooperCodes 10 ай бұрын
Haha thank you. I have found that for teaching the core next.js / JavaScript functionality it helps to keep the UI simple.
@deoarlo
@deoarlo 10 ай бұрын
Amazing tutorials as always, would love to see you cover the latest Assistant API.
@CooperCodes
@CooperCodes 10 ай бұрын
Thanks so much for the comment and support :), I'll check out the Assistant API. Any type of implementation in particular you'd be interested in seeing?
@deoarlo
@deoarlo 10 ай бұрын
@@CooperCodes An app which involves users creating their own chatbot for others to use would be great. With function calling involved.
@parkerrex
@parkerrex 10 ай бұрын
Just wrote the assistant api integration in swift. it's simple in web. Getting a chat to decide if it should reply to a query with the assistant using its tools versus gpt4-turbo versus reaching for an embedding would be a good video.@@CooperCodes
@apoorvaraj3894
@apoorvaraj3894 5 ай бұрын
You saved me Man. Really 😄. Thank you for the video and your work.
@byteolu
@byteolu 10 ай бұрын
This was exactly what I needed! Great video!
@GoatLord_
@GoatLord_ 9 ай бұрын
Amazing content bro
@maskman4821
@maskman4821 10 ай бұрын
Great tutorial 😊😊
@CooperCodes
@CooperCodes 10 ай бұрын
Thank you so much :) glad you enjoyed!
@Rajvirnahar
@Rajvirnahar 7 ай бұрын
Cooper, can we get a video where you loop dall e 3 and gpt 4 vision preview together so users can change or remove certain parts of the image they've uploaded while keeping everything else the same. and only what they type in the prompt of what they want changed changes
@diogos7233
@diogos7233 9 ай бұрын
Great video. Why did you use api routes instead of server actions? Would it be possible to build this app with server actions instead of api routes? I'm new to next js and this is what confuses me the most. Thanks for the video. Keep up the good work.
@tabletuser123
@tabletuser123 6 ай бұрын
fantastic vid but how do we deploy
@bradleywoolf3351
@bradleywoolf3351 8 ай бұрын
why do you need to use the 'use client' at the deepest level? can it not be inherited from parent components? why would be it better to be as narrow as possible with using it?
@shotbyviera
@shotbyviera 10 ай бұрын
nice!
@CooperCodes
@CooperCodes 10 ай бұрын
Thanks for the comment :)
@Deus-lo-Vuilt
@Deus-lo-Vuilt 9 ай бұрын
I was just thinking if it's possible to make a video with Next 14 using supabase to pass the context to Openai
@marvellousadedapo8952
@marvellousadedapo8952 5 ай бұрын
I keep getting the error cannot find module "open-ai"
@likhikaroutray5575
@likhikaroutray5575 10 ай бұрын
great tutorial!! can this be used in supabse as i am trying to build a chat interface web app which fetch chat history on user authentication. Thank you!
@CooperCodes
@CooperCodes 10 ай бұрын
This can 100% be used alongside Supabase, but you would have to create some PostgreSQL tables in order to save chat history and things along those lines. Within the POST request made in this tutorial you can implement a supabase client to do any database / auth operations that you may need. Hopefully this helps! Thanks so much for watching :)
@likeGPT
@likeGPT 10 ай бұрын
Very great video. Thank you! I don't know much about useChat, how do I pass custom parameters defined on the front end to the api/chat interface?
@ungaria446
@ungaria446 9 ай бұрын
29:18
@andy111007
@andy111007 10 ай бұрын
I tried to run it and giving me an error, shared on the git repo
@CooperCodes
@CooperCodes 10 ай бұрын
Did you change the API key? It will not work just from cloning the repo if you do not replace the configuration with your own API key. github.com/coopercodes/GPT4VWithNextJS14ImageAnalysis/blob/20dde4b9702976204a9a699ff1d2849afe91451c/app/api/analyzeImage/route.ts#L7C17-L7C65 this link should bring you to the line.
@paulthomas1052
@paulthomas1052 10 ай бұрын
Great demo as usual. Thanks.
@CooperCodes
@CooperCodes 10 ай бұрын
Appreciate the comment as always :) glad you enjoyed
@paulthomas1052
@paulthomas1052 10 ай бұрын
@@CooperCodesNo probs - I've been digging about in Bun again ....any plans to do a Bun video ?
Build a Chatbot With Custom Data Using ChatGPT and Supabase
41:38
Cooper Codes
Рет қаралды 19 М.
pssst... I'm using Go in my side project now
7:41
Web Dev Cody
Рет қаралды 9 М.
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 14 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 9 МЛН
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 52 МЛН
Stop using Zapier, Make, n8n
25:33
Adam Skjervold
Рет қаралды 25 М.
Learn Next.js Parallel Routes In 16 Minutes
16:18
Web Dev Simplified
Рет қаралды 129 М.
How to Roll Your Own Auth
13:05
Ben Awad
Рет қаралды 113 М.
⚡️Code Like Lightning with AI: Learn Fast, Build Faster!⚡️
20:08
Coding the Future With AI
Рет қаралды 1,7 М.
So, you want to build apps & websites?
9:34
Sajid
Рет қаралды 184 М.
I found the perfect no-code automations platform
20:06
Adam Skjervold
Рет қаралды 39 М.