How to Create a Chatbot Using Chatterbot Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • ***** Click here to subscribe: goo.gl/G4Ppnf *****
    Hi guys! Welcome to another video, in this video I'm gonna show you guys this Python library to create chatterbots, chatbots are a very insteresting type of application, but creating one may not be easy, but with this library creating a chatbot becomes a trivil task, so in this tutorial we'll walkthrough the creation of a simple to a more advanced chatbot.
    Patreon: goo.gl/A3iCR9
    Twitter: / pehlimaofficial
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 64

  • @meldrickfernandes965
    @meldrickfernandes965 3 ปีที่แล้ว

    Awesome video helped me create my jarvis more advance

    • @gautamisane3240
      @gautamisane3240 2 ปีที่แล้ว

      how to create our own yml files? and then train it? for eg. i want to create a chatbot which helps with mental health, so how should i add the conversations in yml file?

  • @harisseyassine8483
    @harisseyassine8483 3 ปีที่แล้ว

    i had this error after running this code:IndexError: list index out of range any solutions?

  • @khaihoang7420
    @khaihoang7420 4 ปีที่แล้ว +2

    Hey do you know how to generate default response if no matching input is found?

    • @codezier2738
      @codezier2738 4 ปีที่แล้ว

      You pass the 'default_response' parameter to your logic adapter. For more information read this small page chatterbot.readthedocs.io/en/stable/logic/index.html

  • @hiteshsingh9859
    @hiteshsingh9859 3 ปีที่แล้ว

    Can I make API of it and add to server
    Is it possible in chatterbot moudle
    Please reply

  • @MuhammadUsman-fg8dg
    @MuhammadUsman-fg8dg 3 ปีที่แล้ว +2

    I am getting an error of spacy How to install spacy?

  • @shaebazz1
    @shaebazz1 2 ปีที่แล้ว +3

    You forgot "if k < 1024:"
    😁

  • @michelarriaga9321
    @michelarriaga9321 3 ปีที่แล้ว

    how to get tag or main_category in the answer ?

  • @remixowlz
    @remixowlz 4 ปีที่แล้ว

    OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

    • @Jiganesh
      @Jiganesh 4 ปีที่แล้ว

      Yeah i got it too use Chatbotlisttrainer

  • @morgtv1023
    @morgtv1023 3 ปีที่แล้ว +2

    where did you get the json file?

  • @harie8035
    @harie8035 2 ปีที่แล้ว +3

    If(k>1024) :
    Break 😅😅 you missed if

  • @cristiancontreras352
    @cristiancontreras352 ปีที่แล้ว

    Excelente video, me encantó podrias hacer uno donde podamos llevar a producion con whasaap o páginas web

  • @ApexSpeedster
    @ApexSpeedster 3 ปีที่แล้ว +2

    Hi!, I have a query.
    I want my bot to give answer even if it matches a word of the question. How to achieve this?

    • @allanjonis1642
      @allanjonis1642 3 ปีที่แล้ว

      Try put all on one list and use regex for find your word.

  • @iftikharhussain2443
    @iftikharhussain2443 3 ปีที่แล้ว +1

    2:35 while I run this code ..get the error => OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. kindly help

    • @rodrigourquizo6235
      @rodrigourquizo6235 3 ปีที่แล้ว +1

      Try to run this(as Administrator), it worked in my case:
      -python -m spacy download en
      -python -m spacy download en_core_web_sm
      -python -m spacy link en_core_web_sm en

  • @dylansoares8520
    @dylansoares8520 4 ปีที่แล้ว

    Qual versão do python que voce indicaria ?

  • @wondegashu6425
    @wondegashu6425 6 หลายเดือนก่อน

    how i can get source code pls?

  • @vincenzofiozzo7413
    @vincenzofiozzo7413 4 ปีที่แล้ว

    Is it possible to implement this code on telegram? If yes, how?

    • @Jack-gx8xn
      @Jack-gx8xn 4 ปีที่แล้ว +3

      Telegram provides api. You need fo fetch the json through api to get the messages. I have done it 1.5 years ago and it works like a charm.

    • @jutsuuchiha3858
      @jutsuuchiha3858 4 ปีที่แล้ว

      @@Jack-gx8xn bro anything good now

    • @Jack-gx8xn
      @Jack-gx8xn 4 ปีที่แล้ว

      @@jutsuuchiha3858 Pal I don't get it what you mean :')

  • @lutherrigby5361
    @lutherrigby5361 6 หลายเดือนก่อน

    I can’t for the life of me get chatterbot installed on my pc. Every error if ran into if done exactly what it said to find a solution and still no luck

    • @codigo_logo
      @codigo_logo  6 หลายเดือนก่อน

      Hi, it's because this lib hasn't received an update in ages, it needs spacy to work well, there's a work around, but since LLMs are way more popular for chatbots now, I don't think that they will update their library.

  • @Angry_Cat00
    @Angry_Cat00 3 ปีที่แล้ว +2

    Nice video, I've Question could tell me :
    How to stop Chatterbot training files from downloading and displaying logs every time?

    • @dionisnavarro3772
      @dionisnavarro3772 2 ปีที่แล้ว +2

      I guess you might have found the answer to stopping chatterbot logging info... I just stopped by and saw your question, anyway just in case, comment out the logging info option in your chatterbot script. 2) After you have uploaded the training files to your bot(e.g corpus data with the ListTrainer, ChatterBotCorpus trainer, etc, comment them out or remove them from your 'bot' script.

  • @shubhankarkalekar4753
    @shubhankarkalekar4753 3 ปีที่แล้ว

    Why am I getting this error
    print(row['patterns'])
    TypeError: string indices must be integers

    • @HKTutorials3
      @HKTutorials3 3 ปีที่แล้ว +1

      google bro google .. if u a programmer u must post ur errors in stackoverflow ,not in youtube,.,, ur errors which get solved today will help us tomorrow also!!

  • @_johndoew
    @_johndoew 3 ปีที่แล้ว

    mn kkk, tu é foda, fala em ingles também

  • @botmastersolutions9836
    @botmastersolutions9836 3 ปีที่แล้ว +1

    The instructor should not say it is simple and then he looses his own way..sub standard tutorial.

  • @trebestorkoleckando7609
    @trebestorkoleckando7609 3 ปีที่แล้ว

    Bruh

  • @kumudkumar5384
    @kumudkumar5384 3 ปีที่แล้ว +1

    Chatterbot is not install ....

  • @tomcat9761
    @tomcat9761 2 ปีที่แล้ว

    I dont understand a thing. Lol

  • @aayushipathak5947
    @aayushipathak5947 4 ปีที่แล้ว

    Source code please

    • @crixuss4100
      @crixuss4100 4 ปีที่แล้ว +1

      All the code is in chatterbot Github

    • @ribbon-kitten7577
      @ribbon-kitten7577 3 ปีที่แล้ว

      I am hoping to learn this too. github.com/gunthercox/ChatterBot

  • @mikethe2238
    @mikethe2238 4 ปีที่แล้ว +2

    I WANTED PYTHON! NOT JS! JS BIG DUMB PYTHON LARGE SMART!

    • @guyguy7714
      @guyguy7714 3 ปีที่แล้ว +1

      THIS IS PYTHON

    • @bentleythedoggo7553
      @bentleythedoggo7553 3 ปีที่แล้ว +1

      Fix you're english nobody understands what you are saying

    • @mikethe2238
      @mikethe2238 3 ปีที่แล้ว +1

      @@bentleythedoggo7553 it is not broken it is just MY version of English
      that is why

    • @mikethe2238
      @mikethe2238 3 ปีที่แล้ว

      @@bentleythedoggo7553 i think you would not get it