Тёмный

🔴 Let’s build an AI Help Bot with NEXT.JS 14! (Neon PostgreSQL, Clerk, AI Agent, OpenAI, IBM) 

Sonny Sangha
Подписаться 274 тыс.
Просмотров 24 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 96   
@faotu
@faotu 3 месяца назад
You are powerful Sonny
@RealLexable
@RealLexable 3 месяца назад
Let's add an option for pdf or csv as input feed bro 😮❤
@SonnySangha
@SonnySangha 3 месяца назад
Great suggestion!
@Suhaybkaofficial
@Suhaybkaofficial 3 месяца назад
that is the whole point of learning, make it an exercise to base it on your business needs 🎉
@AnameneJoseph
@AnameneJoseph Месяц назад
Hi Sonny. Thanks so much for this. How many months is the zero to Fullstack and at the end will I be able to Enterprise based software?
@johannesmogashoa1320
@johannesmogashoa1320 3 месяца назад
Super happy to see DaisyUI beginning to get the recognition it deserves. First used it in 2022.
@dwconsult713
@dwconsult713 3 месяца назад
Great tutorial. Please add an option to train a website url and/or PDF. Thanks a lot!!
@SonnySangha
@SonnySangha 3 месяца назад
I also was thinking this!
@EdgarMartinez-jf7ud
@EdgarMartinez-jf7ud 17 дней назад
Can you post the link to the entire project in here to be able to download it please
@kiranbai942
@kiranbai942 Месяц назад
Is it uses any Paid API For this Project???
@dianazawislak294
@dianazawislak294 Месяц назад
Is repo for this the same as challenge repo?
@shashanksingh4708
@shashanksingh4708 2 месяца назад
are there any other services like neon that can provide a free tier DB ? Something like MongoDB Atlas except with SQL databases.......
@dazecm
@dazecm 2 месяца назад
Great content. Some tips. I'd add a shortcut key to toggle VS Code's Activity Sidebar (all the icons on the left). Disabling that gives a little bit more space to adjust text size. I have that set to ALT + A. I also have the Project Explorer window toggle key set to SHIFT + SPACE, which is easy to smash in order to have even more code space. The rafce extension also has a control in its VS Code Extension Settings that allows you to omit the React import line, which is not really needed when you're rocking Next.js. Head to the Extensions Seettings for ES7 snippets and the first entry called 'React Snippets › Settings: Import React On Top" can be ticked on or off to omit this line when using snippets like rafce.
@emmanueladeleye6479
@emmanueladeleye6479 3 месяца назад
GREAT VIDEO THANKS SONNY
@SonnySangha
@SonnySangha 3 месяца назад
You’re absolutely welcome!!!
@eliuddyn
@eliuddyn 3 месяца назад
Amazing 🔥🔥
@HawkingMerchant
@HawkingMerchant 3 месяца назад
hey sonny there's no getchatbotsByUser query in my ibm api connect
@billwhite515
@billwhite515 3 месяца назад
have you found a solution? I'm having the same issue. I've tried to rig up a query but I don't know how complex it would need to be. I thought select * from chatbots where clerk_user_id = $1 would work event with a function CREATE OR REPLACE FUNCTION getChatbotByUsers($clerk_user_id: String!) returns text[] $$ select * from chatbots where clerk_user_id = $1 $$ language SQL; but keep getting errors
@SonnySangha
@SonnySangha 3 месяца назад
Hi guys, sorry about that! Add this to the index.graphql file: --- chatbotsByUser(clerk_user_id: String!): [Chatbots] @dbquery( type: "postgresql" schema: "public" query: """ SELECT * FROM chatbots WHERE clerk_user_id = $1 """ configuration: "postgresql_config" ) --- and then in queries.ts, add this: --- export const GET_CHATBOTS_BY_USER = gql` query GetChatbotsByUser($clerk_user_id: String!) { chatbotsByUser(clerk_user_id: $clerk_user_id) { id name created_at chatbot_characteristics { id content created_at } chat_sessions { id created_at guest_id messages { id content created_at } } } } `; --- Hope that helps!
@TimDake-y2o
@TimDake-y2o 3 месяца назад
Got my first job with Microsoft via your guides Sonny! You are a hero!
@SonnySangha
@SonnySangha 3 месяца назад
That’s huge!!! Email me at sonny@papareact.com I wanna chat about this!!
@palette7054
@palette7054 Месяц назад
This is so cool, I'm learning loads! Thank you for all this great free content
@persianrelax
@persianrelax 3 месяца назад
tnx in advance I have only one IBM api and I'm sure I putted environment setup correctly but I still cant pass create-chatbot and my DATA >> is always undefined
@WeirdLookingJay
@WeirdLookingJay 3 месяца назад
Any fix for this issue? I am also having this problem. I can connect to graphql via postman with no problems. Issue seems to be nextjs related.
@CharlesUkasoanya
@CharlesUkasoanya 2 месяца назад
Had the same issue, the problem was the created_at column which is required as a DateTime type. So you need to add the created_at alongside the id and the name column when carrying out your create-chatbot mutation
@pvm239
@pvm239 2 месяца назад
@@CharlesUkasoanyawas getting the error too! Going to try this. Thanks. Which file are you referring to specifically?
@WandersonOliveiradeCastro
@WandersonOliveiradeCastro Месяц назад
@@CharlesUkasoanya also use the type - DateTime!
@irfantaylan1590
@irfantaylan1590 Месяц назад
@@pvm239 insertChatbots(clerk_user_id: $clerk_user_id, name: $name, created_at: $created_at) { id name created_at }
@HawkingMerchant
@HawkingMerchant 3 месяца назад
You missed created_at at the time of creating a bot
@DigitalAlchemyst
@DigitalAlchemyst 2 месяца назад
This is a great tool to have just on a personal level, Will be rolling this out to all my sites over time.
@bryantmateus
@bryantmateus 2 месяца назад
Is there a reason you use rfce as opposed to rafce or is it just personal preference?
@vidz_24
@vidz_24 3 месяца назад
Flight Radar clone??
@BrutalInsights
@BrutalInsights 3 месяца назад
Loving these full stack builds that are new and very useful. Learning a lot and definitely recommending this PAPA fam channel to friends and family. University of Code such a great place!
@SonnySangha
@SonnySangha 3 месяца назад
Awesome thanks so much for the support im glad you like them!
@peterotian5161
@peterotian5161 2 месяца назад
This is what I was looking for
@NameCheap-w9s
@NameCheap-w9s 3 месяца назад
I popped in the seed contents in the SQL environment on the Neon but the run button is still disabled and I cant click to run it, help me out here thanks
@mayorstacks
@mayorstacks 2 месяца назад
Remove all the comments from the seed file and paste it into the SQL editor again. The run button will show. This works for me.
@programminghacks
@programminghacks 3 месяца назад
You are just next level man. Love it man ❤
@chillpill610
@chillpill610 3 месяца назад
Love from INDIA 😇
@brianfinancehq
@brianfinancehq 3 месяца назад
Awesome Sonny! A suggestion would be nice to have a video for short video generation using AI! :)
@SonnySangha
@SonnySangha 3 месяца назад
Thank you il consider it!
@brianfinancehq
@brianfinancehq 3 месяца назад
@@SonnySangha thanks using ffmpeg and AI could be cool!
@layeekromah4799
@layeekromah4799 3 месяца назад
Can we embed the created chatbot on an already built website? Great content as always!
@SonnySangha
@SonnySangha 3 месяца назад
Yes you can 100% embed the chat on an existing website!
@tusharparakh6908
@tusharparakh6908 2 месяца назад
Can you please tell how to do embed it?​@@SonnySangha
@ClayHuntly
@ClayHuntly 2 месяца назад
Any one having trouble with adding Characteristic to the chatbot? It keeps failing when I add and I have followed all the steps and the code is exact the same.
@pvm239
@pvm239 2 месяца назад
What is the error that you are getting?
@ClayHuntly
@ClayHuntly 2 месяца назад
@@pvm239 Not getting an errors just not adding the characteristics? I get a successful post of 200 to graphql
@ClayHuntly
@ClayHuntly 2 месяца назад
I am able to delete characteristics but not able to add, but I changed the variables on the removeCharacteristic to this in the try await removeCharacteristic({ variables: { characteristicId, }, and it worked
@pvm239
@pvm239 2 месяца назад
Nice good job. I’m working through a bug right now. Getting the following on the edit-chatbot page: “Error: Server response was missing for query ‘GetChatbotById’”
@ClayHuntly
@ClayHuntly 2 месяца назад
@@pvm239 the same thing happened to me and i fixed it with create_at in the mutation. when you create the chat bot
@mileslegend
@mileslegend 3 месяца назад
am mind blown cool content ..my goodness this content is pure gold
Далее
Web Developer Roadmap (2024) - Everything is Changing
25:02
Can You Make YouTube From Scratch Using Only Bash?
17:51
How I structure my next.js applications
23:19
Просмотров 29 тыс.