Build A Chatbot with NextJS, TailwindCSS, TypeScript and OpenAI (2024)

  Рет қаралды 1,700

Abraham E. Tavarez

Abraham E. Tavarez

Күн бұрын

Пікірлер: 9
@abetavarez
@abetavarez 3 ай бұрын
🎉 Connect with me: 🔗 LinkedIn: www.linkedin.com/in/abrahametavarez/ 📷 Instagram: instagram.com/abetavarez/ 🐥Twitter/X: twitter.com/abeTavarez ☕Buy me a coffee: buymeacoffee.com/abrahamtavarez
@wasiqonly
@wasiqonly 4 ай бұрын
Great video dude. Streamlined and well guided. Just followed along and finished seamlessly (except for I didn't have Open AI credits😅) Waiting for the next fine - tuning part! Suggestions: Please continue improving this like fine tuning, custom models or and implementing ChatBots on platforms like WhatsApp :) Great work by the way! Thanks
@abetavarez
@abetavarez 4 ай бұрын
Thanks those are great suggestions 🤔🙌🏻
@egaldamez2
@egaldamez2 5 ай бұрын
Is it possible to make it work with custom gpts? Great video BTW!
@abetavarez
@abetavarez 5 ай бұрын
@@egaldamez2 Hey, yes it’s possible. You just need to modify the API call to use your custom model Id instead of the model name “gpt-4o-mini” in our case.
@abhinjr4918
@abhinjr4918 Ай бұрын
wtf I thought it includes the free api one... i lost my 2 hours😪. Is it possible to continue with the free one
@abetavarez
@abetavarez Ай бұрын
Sorry for the mixup, things are changing so rapidly, at the time OpenAI didn’t required payment info but give groq.com a try they don’t require payment info for now.
@amarsrivastava1352
@amarsrivastava1352 4 ай бұрын
I have a query , it will be helpful if you please help . I am getting a warning in this code const completion = await openai.chat.completions.create( {messages:chat , model: 'gpt-4o-mini'} ) the warning is that Type '{ role: string; content: string; }[]' is not assignable to type 'ChatCompletionMessageParam[]'. Type '{ role: string; content: string; }' is not assignable to type 'ChatCompletionMessageParam'. Property 'name' is missing in type '{ role: string; content: string; }' but required in type 'ChatCompletionFunctionMessageParam'. is there a new field "name" added to the chat completion function parameters or this is something else . can you please help on this ??
@abetavarez
@abetavarez 4 ай бұрын
Yes, basically the warning is looking for an optional or deprecated property called "name" but we don't need to set that in our chat anyways, so just cast it as follow: ``` const completion = await openAI.chat.completions.create({ messages: chat as OpenAI.ChatCompletionMessageParam[], model: "gpt-4o-mini" }); ``` Let me knoe if this helps. Read more here: github.com/openai/openai-openapi/issues/118
Build A Chatbot with NextJS, TailwindCSS, TypeScript and OpenAI (2024)
35:49
Abraham E. Tavarez
Рет қаралды 1,1 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Using bolt.new and Supabase to build an Instagram clone
1:19:48
Windsurf vs Cursor: In-Depth AI Code Editor Comparison
18:14
Yifan - Beyond the Hype
Рет қаралды 17 М.
The FASTEST Way to Build AI Chatbot in Next.js with OpenAI and Gemini
1:00:26
Programming with Umair
Рет қаралды 1,3 М.
Build a Modern AI Chatbot in Next.js 14 (2024)
1:24:56
Josh tried upstash
Рет қаралды 34 М.
Finally.... But it's exciting!
13:58
Maximilian Schwarzmüller
Рет қаралды 29 М.
I built a REAL Desktop App with both Tauri and Electron
12:22
Bufferhead
Рет қаралды 73 М.
AI-Powered Stock Market Chatbot 2024 Sentiment Analysis (P7)
1:11:14
Abraham E. Tavarez
Рет қаралды 265
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19