Binaryhood
Binaryhood
  • Видео 13
  • Просмотров 191 925
Create a Chatbot with Node.js, Express & Google Generative AI | Gemini AI Tutorial
In this tutorial, I show you how to create a Chatbot V2 using Node.js, Express, and Google Generative AI (Gemini). We’ll build a chatbot that can handle text and file inputs, offering a more enhanced user experience with better UI and effects. Follow along to learn how to set up the project, integrate AI, and create a modern chatbot!
Resources:
- Install Node.js: nodejs.org/en
- Resources: github.com/binary-hood/chatbot-v2-resources
- Create API Key: ai.google.dev/gemini-api/docs/api-key
- Complete Chatbot-v2: github.com/binary-hood/Chatbot-v2
- AI Model Documentation: ai.google.dev/api?lang=node
Commands used:
- npm init -y
- npm install dotenv express body-parser @google/generative-ai multer pa...
Просмотров: 416

Видео

Build Instagram Stories with React Native | Part 3
Просмотров 6128 месяцев назад
Unlock the power of React Native and create your own Instagram stories feature from scratch! In this comprehensive tutorial, we dive deep into coding Instagram stories for your mobile app using React Native. Whether you're a beginner looking to expand your skills or an experienced developer keen on integrating social media features, this video has something for everyone. Don't forget to hit the...
Build Instagram Stories with React Native | Part 2
Просмотров 7278 месяцев назад
Unlock the power of React Native and create your own Instagram stories feature from scratch! In this comprehensive tutorial, we dive deep into coding Instagram stories for your mobile app using React Native. Whether you're a beginner looking to expand your skills or an experienced developer keen on integrating social media features, this video has something for everyone. Don't forget to hit the...
Build Instagram Stories with React Native | Part 1
Просмотров 1,3 тыс.8 месяцев назад
Unlock the power of React Native and create your own Instagram stories feature from scratch! In this comprehensive tutorial, we dive deep into coding Instagram stories for your mobile app using React Native. Whether you're a beginner looking to expand your skills or an experienced developer keen on integrating social media features, this video has something for everyone. Don't forget to hit the...
Setup Guide for React Native CLI Development Environment
Просмотров 2,6 тыс.8 месяцев назад
Learn how to set up your React Native CLI Development Environment in this detailed tutorial. We'll cover all the essential steps and installations needed to get you started with React Native development. 👨‍💻 Step-by-Step Installation Guide: 1. Homebrew: brew.sh/ 2. Xcode: xcodereleases.com/ | developer.apple.com/xcode 3. Node & NVM: Manage multiple versions of Node.js. nodejs.org/en 4. Yarn: Fa...
Mastering the Command Line: Ultimate Terminal Customization Guide
Просмотров 155Год назад
In this comprehensive tutorial, we'll dive into the fascinating world of terminal customization, using iTerm and Oh My Zsh to elevate your command line experience. Learn how to transform your terminal with advanced features, a personalized shell prompt, and captivating themes. We'll also explore essential plugins and bonus tips to supercharge your command line game. Don't forget to like, commen...
Step-by-Step Guide: Building a REST API using Spring Boot
Просмотров 311Год назад
Welcome to our comprehensive tutorial on creating a RESTful API using Spring Boot! In this video, we'll walk you through the entire process of building a robust API, from setup to implementation. Whether you're a beginner or an experienced developer, this guide will help you understand the essentials of RESTful APIs, HTTP response codes, and CRUD (Create, Read, Update, Delete) operations. Prere...
Learn Java under 15 minutes
Просмотров 141Год назад
Java Fundamentals Welcome to our lightning-fast Java Fundamentals crash course! In just 15 minutes, you'll gain a solid understanding of key Java concepts, including objects, object-oriented programming (OOP), arrays, and functions. In this single video, we'll cover it all: 🚀 Objects: Learn what objects are in Java, how to create them, and how they form the foundation of your Java programs. 💡 O...
Developing ChatGPT Clone
Просмотров 2,7 тыс.Год назад
In this video, we explore the fascinating world of chatbot development using ChatGPT and its API plugin. Join me as I take you through the step-by-step process of creating a powerful chatbot using Python and the ChatGPT API. We'll dive into the code, leveraging the capabilities of ChatGPT to build an intelligent conversational agent. I'll demonstrate how to set up a Flask server to host the cha...
Learn How to Build a Chatbot with Flask - Step-by-Step Tutorial with HTML, CSS, and JavaScript
Просмотров 180 тыс.Год назад
#chatbot #flask #python #html #html5 #css #javascript #websitedesign In this Video, I will guide you through the process of building a chatbot that can carry out conversations with users using natural language processing. To start, we will be using Microsoft DialoGPT, a pre-trained language model that can generate human-like responses to given prompts. We will be integrating DialoGPT with Flask...
Build a Custom Clock iOS Application using Swift and Xcode
Просмотров 1,9 тыс.Год назад
#ClockiOSApplication #swiftprogramming #XcodeTutorial #coding #CustomUIDesign #ClockFaceDesign #iOSAppDesign #appdevelopment #iosprogramming #iosdevelopment In this video, you will learn how to create a Clock iOS application using Swift and Xcode. We will explore the process of building a custom UI for the clock, including designing the clock face, hands, and other user interface elements. Thro...
Building a BMI Calculator Application for iOS: Step-by-Step Tutorial
Просмотров 1,2 тыс.Год назад
#xcode #appdevelopment #swift #apple #coding #ios #iosdevelopment In this video, you'll learn how to create a BMI Calculator iOS application from scratch. With just a few lines of code, you'll be able to calculate the user's BMI based on their weight and height. But that's not all - depending on whether they need to eat more or less Fish & Chips, the app will give them a piece of health advice....

Комментарии

  • @mryakayt5902
    @mryakayt5902 3 дня назад

    Bro model is not responsing

    • @binaryhood
      @binaryhood 2 дня назад

      Can you please add console.log and also check if you haven’t made any grammatical mistakes interms of variables

    • @mryakayt5902
      @mryakayt5902 2 дня назад

      @ bro it can only used on localhost?how can I make to everyone use

    • @binaryhood
      @binaryhood 15 часов назад

      Use Netlify

  • @thaix_pvp
    @thaix_pvp 10 дней назад

    Sensacional, gostaria de conteúdos assim no Brasil 😂🫰

  • @SaulRachel-h4v
    @SaulRachel-h4v 16 дней назад

    Thanks for sharing such valuable information! A bit off-topic, but I wanted to ask: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?

  • @edwarddoofenschmirtz4436
    @edwarddoofenschmirtz4436 18 дней назад

    Is it possible for flask to handle such things as logins, user account creation, etc., while also having this ai chatbot or It only handles one task like if your creating a chatbot, you can only create a chatbot but without the logins, and registrations, the othing things that you would normally encounter when you create a web application.

    • @binaryhood
      @binaryhood 18 дней назад

      @@edwarddoofenschmirtz4436 Yes, Flask can handle almost anything, including registration and creating a full web app. However, using heavy libraries for your chatbot model might make your application harder to deploy because the slug size will be larger. Instead, I would suggest integrating external AI services like Google Generative AI or OpenAI for the chatbot functionality. This approach will keep your Flask application lightweight and easier to manage while still achieving all the required features. Hope this answers your question!

  • @binaryhood
    @binaryhood 18 дней назад

    I’ve upgraded the chatbot and released Chatbot v2! Check it out here ruclips.net/video/hcXHfoHGiEA/видео.htmlsi=nRToz-wAEFdpSvOi

  • @sarcasticboy540
    @sarcasticboy540 24 дня назад

    finally i did it... thank you very much... you got a subsriber on live hosting do i get encouter problem ?

  • @sarcasticboy540
    @sarcasticboy540 24 дня назад

    everything went well... but i am not getting response from the chatbot... how to resolve it ?

  • @n_g_kcrazyboys3302
    @n_g_kcrazyboys3302 24 дня назад

    i don`t get reply from server side , i`m confusing where i did mistake

  • @troyaaroncarcosia4738
    @troyaaroncarcosia4738 Месяц назад

    Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

    • @sarcasticboy540
      @sarcasticboy540 24 дня назад

      it's not actually server problem... make sure you keep app.py file inside the folder not outside of it.. or along with html

  • @NxsHbb
    @NxsHbb Месяц назад

    Those error suggestions are not that much helpful and very much distractive.

  • @shlokiplayz
    @shlokiplayz Месяц назад

    Hey mate it is running successfully but not giving any reply like I am greeting it a hello and bo reply cames back how can I resolve it

    • @jitulborah_10
      @jitulborah_10 28 дней назад

      for the two variables : userHtml and botHtml, two changes were being made which was not present in the copy links provided in description , after doing this , it worked for me . Try doing the same . instead of "user input" , change to "rawText" , "time "to "str_time" , and "bot_response "to "data" as shown below. var userHtml = '<div class="d-flex justify-content-end mb-4"><div class="msg_cotainer_send">' + rawText + '<span class="msg_time_send">' + str_time + '</span></div><div class="img_cont_msg">' + '<img src="i.ibb.co/d5b84Xw/Untitled-design.png" class="rounded-circle user_img_msg"></div></div>'; var botHtml = '<div class="d-flex justify-content-start mb-4"><div class="img_cont_msg">' + '<img src="i.ibb.co/fSNP7Rz/icons8-chatgpt-512.png" class="rounded-circle user_img_msg"></div>' + '<div class="msg_cotainer">' + data + '<span class="msg_time">' + str_time + '</span></div></div>';

  • @TrapMallu
    @TrapMallu 2 месяца назад

    How did we train with our data?

  • @chinasaedeh-c7v
    @chinasaedeh-c7v 2 месяца назад

    but in the html where did you copy

  • @chinasaedeh-c7v
    @chinasaedeh-c7v 2 месяца назад

    i did it but visual studio code it show me plus9 error

  • @Glitchy-v1c
    @Glitchy-v1c 2 месяца назад

    can u pls tell where to get html code

  • @j0ker361
    @j0ker361 3 месяца назад

    Hello, how can I fix my local host. It says "Hmmm… can't reach this page", I already done many things but still can't reach the local host. In my first time of use the code works but after you change something at 20:04 so that the bot will reply, after I change it like yours the code loads to error saying "Hmmm… can't reach this page". Hope you notice me and also great video tutorial I hope many kind developers like you teach more people like me as a startup developer. Thank you for the response

  • @bernardasare3210
    @bernardasare3210 3 месяца назад

    how do i train it for specific purpose

    • @binaryhood
      @binaryhood 3 месяца назад

      @@bernardasare3210 You cannot train it for a specific reason through this model you have to use models which can be trained such as OpenAI, go check my video where I integrated ChatGPT into this template

    • @bernardasare3210
      @bernardasare3210 3 месяца назад

      @@binaryhood which video is that please i can't seem to find it

    • @binaryhood
      @binaryhood 3 месяца назад

      @@bernardasare3210 ruclips.net/video/i8wxZwkBpwo/видео.htmlsi=_obutrWUOSc6vp5l Through this you’ll be to use ChatGPT and in OpenAI create your custom GPT and link that into the app.py using your custom API Key

  • @kousttavbiswas9742
    @kousttavbiswas9742 3 месяца назад

    Error 500 occurs???

  • @anuragchaudhuri8146
    @anuragchaudhuri8146 3 месяца назад

    Could you please help me out - I am getting 500 Internal Server error. How to solve this problem?

  • @anhhanry7167
    @anhhanry7167 4 месяца назад

    informative tutorial 👌👏but I think it's incomplete ( because of memory leak) : firstly the Timer , timer should be invalidated() when the view didDisappear() and secondly the NotificationCenter should removed all notifications before view willDisappear() hence, a few more lines of code are needed at viewWillDisappear() to prevent crash

  • @NoTimeWaste1
    @NoTimeWaste1 4 месяца назад

    Thank you!!

  • @anandballabh6023
    @anandballabh6023 4 месяца назад

    Hello I was trying this code getting following sequence in python terminal. 127.0.0.1 - - [08/Sep/2024 21:58:47] "GET /?msg=hello HTTP/1.1" 200 - 127.0.0.1 - - [08/Sep/2024 21:58:47] "GET /static/style.css HTTP/1.1" 304 -. But not getting any response in chat bot

    • @priyanshu3136
      @priyanshu3136 2 месяца назад

      Same with me

    • @jitulborah_10
      @jitulborah_10 28 дней назад

      for the two variables : userHtml and botHtml, two changes were being made which was not present in the copy links provided in description , after doing this , it worked for me . Try doing the same . instead of "user input" , change to "rawText" , "time "to "str_time" , and "bot_response "to "data" as shown below. var userHtml = '<div class="d-flex justify-content-end mb-4"><div class="msg_cotainer_send">' + rawText + '<span class="msg_time_send">' + str_time + '</span></div><div class="img_cont_msg">' + '<img src="i.ibb.co/d5b84Xw/Untitled-design.png" class="rounded-circle user_img_msg"></div></div>'; var botHtml = '<div class="d-flex justify-content-start mb-4"><div class="img_cont_msg">' + '<img src="i.ibb.co/fSNP7Rz/icons8-chatgpt-512.png" class="rounded-circle user_img_msg"></div>' + '<div class="msg_cotainer">' + data + '<span class="msg_time">' + str_time + '</span></div></div>';

  • @Yukthak215
    @Yukthak215 4 месяца назад

    What to use instead of terminal in windows 11

  • @anxhelocenollari4269
    @anxhelocenollari4269 4 месяца назад

    Thank you buddy, great work

  • @prernasikarwar
    @prernasikarwar 4 месяца назад

    when I write 'code .' it gives me error, "zsh: command not found: code" and I don't get 'git:(main)' when I hit, "cd AwesomeProject" .. can you please help me with this?

    • @binaryhood
      @binaryhood 2 месяца назад

      Open VSCode and then in the Search Command Palette (⌘ + ⇧ + P on Mac) OR View ❯ Command Palette Type shell command to find Shell Command: Install 'code' command in PATH command Install it

  • @RamKumar-jt1fi
    @RamKumar-jt1fi 4 месяца назад

    Its work for me well !!! But how do i format the response from Chatgpt. As it looks very tidy, I want to format the data before sending it to the chatbot. @binaryhood

  • @RamKumar-jt1fi
    @RamKumar-jt1fi 4 месяца назад

    Its work for me well !!! But how do i format the response from Chatgpt. As it looks very tidy, I want to format the data before sending it to the chatbot.

  • @mariesuja
    @mariesuja 4 месяца назад

    Hii,could u pls tell me how did u copy the details in terminal and from where?

    • @binaryhood
      @binaryhood 4 месяца назад

      You need to use Command + C to copy the folder. Then, type `cd` followed by a space, and use Command + V to paste the folder path. This will change your directory to the chatbot folder, allowing you to run your Python commands.

  • @ashaVerma-n5t
    @ashaVerma-n5t 4 месяца назад

    I am facing error of : raise err the specified module could not be found, Error loading env\Lib\sitre-package\torch\lib\fbgemm.dll or one of the dependencies I uninstalled and reinstalled the torch but getting same error Please help anyone 🤝

    • @Zahra-kb9pm
      @Zahra-kb9pm 4 месяца назад

      got the same issues, have you solved the problem?

  • @EuniceOkhakumhe
    @EuniceOkhakumhe 5 месяцев назад

    8:09 umm this is soo helpful but mine isn't showing template

  • @kathir1188
    @kathir1188 5 месяцев назад

    nice content, very useful

  • @crazybeats24
    @crazybeats24 5 месяцев назад

    I follow your step will going bro

  • @grandwarrior2214
    @grandwarrior2214 5 месяцев назад

    how to format the output of the chatbot? (bold, italic, bullet points, new lines, etc)

  • @t1mmy851
    @t1mmy851 6 месяцев назад

    can i provide my own data?

  • @LaturnasJoshClarkG.
    @LaturnasJoshClarkG. 6 месяцев назад

    i cant use i dont know why and i cant fix the error Traceback (most recent call last): File "C:\Users\USER\Desktop\ChatBot-Starter-main\app.py", line 4, in <module> from transformers import AutoModelForCausalLM, AutoTokenizer File "C:\Users\USER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\transformers\__init__.py", line 26, in <module> from . import dependency_versions_check File "C:\Users\USER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\transformers\dependency_versions_check.py", line 16, in <module> from .utils.versions import require_version, require_version_core File "C:\Users\USER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\transformers\utils\__init__.py", line 18, in <module> from huggingface_hub import get_full_repo_name # for backward compatibility ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'huggingface_hub'

  • @davidraju55
    @davidraju55 7 месяцев назад

    The ai is not giving answers for all questions

  • @venkateshkamadi5217
    @venkateshkamadi5217 7 месяцев назад

    It couldn't get ouput from chat bot

  • @AritraBhattacharya-yd4ey
    @AritraBhattacharya-yd4ey 7 месяцев назад

    Where can i get the html code

  • @viral_world_today016
    @viral_world_today016 7 месяцев назад

    VERY USEFUL! THANK YOU SO MUCH BRO

  • @304HATS
    @304HATS 7 месяцев назад

    Is it possible to integrate llama in this?

  • @urazayousuf9681
    @urazayousuf9681 7 месяцев назад

    why my ai is not responed when i write hello.

  • @FFVenomVortexx
    @FFVenomVortexx 7 месяцев назад

    Can i use this code on my real working project

  • @sachinbpillai-qp2cq
    @sachinbpillai-qp2cq 7 месяцев назад

    I have researched a lot, use Gemini ai API from Google ai studio and integrate that to ur python code, it's free and we can input system instructions and it will act occlrdin to it , works fine 👍👍👍

    • @ruzz3788
      @ruzz3788 7 месяцев назад

      Can i get a code? , i wanna learn how to use Gemini api into code

    • @sachinbpillai-qp2cq
      @sachinbpillai-qp2cq 7 месяцев назад

      @@ruzz3788 search on ytb or just go o Google ai studio and set a system instructions for ur ai then just click on the top button for get code. And also make an API key ,,,, there's a section for that in the ai studio and also then use Cursor code editor for better ai based help

  • @abinash_kar
    @abinash_kar 7 месяцев назад

    Nice video, really it's helpful for me after watching 7_8 video finally I did it through your video, please make a video how to run this in Android simulator like pixel 7pro

  • @suresh-aj
    @suresh-aj 8 месяцев назад

    What was the error about unknown ruby ... In the vscode terminal I have that too, how to fix or hide it

    • @binaryhood
      @binaryhood 8 месяцев назад

      Hey you can hide the warning/error by Command + K, and also this shows up when your environment’s ruby version mismatches the project ruby version, sometimes it ends up displaying the warning even if your environment has the correct ruby installed

  • @mahnoorlodhi6533
    @mahnoorlodhi6533 8 месяцев назад

    Thanks it really helped me 👍🏼🤍

  • @asfandlodhi2124
    @asfandlodhi2124 8 месяцев назад

    Thankyou for the video. Really helpful!

  • @abbasshah9793
    @abbasshah9793 8 месяцев назад

    😮😮

  • @abbasshah9793
    @abbasshah9793 8 месяцев назад

    Now my terminal also looks great likewise

  • @abbasshah9793
    @abbasshah9793 8 месяцев назад

    Thanks you helped me completing my assignment