Build a Chatbot w/ an API - ML for Hackers #9

  Рет қаралды 44,170

Siraj Raval

Siraj Raval

Күн бұрын

Пікірлер: 78
@prang1702
@prang1702 8 жыл бұрын
Hey ! The speed is awesome ! Not to fast not too slow. Just perfect and I liked the way you explained your choice of API. this gives up a solid backing to the choice and make it simple to go by the right choice. Great Work man ! :D
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks a lot! Yeah I've really been trying to perfect the pacing
@superben9
@superben9 8 жыл бұрын
these videos are the NEW STANDARD. I'm going to follow your style and of course give you credit.
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks Ben!
@umeshaggarwal5959
@umeshaggarwal5959 8 жыл бұрын
Hey... Your videos are just great, so much to learn in just 5-6 minutes. Your videos are the future for the developers like me who want to indulge in ML but don't have any good source to learn. Once again thanks..and keep making these videos. :)
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks!!
@TheTallYogi
@TheTallYogi 8 жыл бұрын
dude, you rock. brilliant marketing and positioning. plus its actually informative. kudos.
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks a lot Mark! More to come :)
@MrViccy
@MrViccy 7 жыл бұрын
just when i was looking for how to combine python and API.ai, you are awesome!!
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks vikas!
@onkargoswami5104
@onkargoswami5104 7 жыл бұрын
So many videos to watch! Such little time! I am started learning to code and your videos are amazing. Keep it up
@akshitbhatia694
@akshitbhatia694 7 жыл бұрын
woooh!!!! Let me get back to the real world which is not at all this much fast. Still my brain is running as if i am looking at the shatabdi express :P :P Nice videos. Better than the ones which takes many years to complete LOL
@woodstoney
@woodstoney 8 жыл бұрын
Great videos as always! Fun and informative. You really should switch to decaf !! ;)
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks! never! :)
@rs247ify
@rs247ify 8 жыл бұрын
Just found your channel, great work, love it! 1. How about Microsoft cognitive frameworks or Watson? 2. Also, is there a fundamental difference between Siri/google-now like "agents" and other bot frameworks like api/watson etc 3. Last question, do these bot frameworks use neural nets for generative models or is it a retrieval based model. New to this, so please excuse ill-fitting terminology :)
@SirajRaval
@SirajRaval 8 жыл бұрын
1 good point 2 they are very similar 3 they are hybrids, retrieval when possible, else generative
@SirajRaval
@SirajRaval 8 жыл бұрын
and thank you!
@gywghhb
@gywghhb 8 жыл бұрын
I've been learning how to build chatbot and this video saves me from reading a bunch of documentations. By the way, what is your opinion on Microsoft's LUIS API? I have some experience in .NET and it seems like a good alternative to api.ai with Microsoft's own speech recognition and other services
@bryansbc1
@bryansbc1 7 жыл бұрын
Yes I will be keen to know your view on Luis too?
@vedantrathore6559
@vedantrathore6559 8 жыл бұрын
Awesome videos man..keep em coming!
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks!!
@shahbazengineer5375
@shahbazengineer5375 7 жыл бұрын
nice dude.. u r great. u solve problem in 5 min
@gautamnarayan3235
@gautamnarayan3235 8 жыл бұрын
thx man, these really helped. keep it up siraj! :D
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks Gautam!
@fdolsky
@fdolsky 7 жыл бұрын
Thats amazing, very informative, funny, thank you so much!!!
@kosairox
@kosairox 8 жыл бұрын
awesome vid, thanks for being so receptive to feedback
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks! Always
@alexsalgado
@alexsalgado 8 жыл бұрын
Great video, always....but in this case, if I decide to create an app? Which language support this?
@itsgoubie
@itsgoubie 7 жыл бұрын
this is the second day in a row that I find Alex in different places, totally at random. yesterday it was on r/cyberpunk
@KvetinyFioritaPraha
@KvetinyFioritaPraha 8 жыл бұрын
Hi there, great video. I am also trying to use API.AI to build (what???) - yes, a flower bot. As I am a florist, not a programmer, I cannot figure out just two things - how I (human) can pick up the discussion at a certain point (I have to have an alert and access to the current chat, not a problem in Mesenger, but a nightmare in Telegram and web) and, more important, how I have conversations documented and sent by e-mail to me with all the parameters gathered neatly (like the order, address, etc...). I would really appreciate your help
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks! this might help apps.worldwritable.com/tutorials/chatbot/
@KvetinyFioritaPraha
@KvetinyFioritaPraha 8 жыл бұрын
Hi, thanks, it is an interesting reading by itself but does ot answer the questions (maybe I missed something, will go throutgh again). I think the truth lies somewhere in Python functions like sendmail etc. I think that without such functions the bots are commercially not viable, at least for my business - I have to have a report of what bit has told and have a possibility to interfere
@Viv1Ag
@Viv1Ag 7 жыл бұрын
Thank you Siraj for this video. You saved my so much time. Here I am not able to get proper agent response after entering the delivery address. What am I doing wrong?
@McMurchie
@McMurchie 7 жыл бұрын
Hey Siraj, awesome vid. I managed to build all the way up to run demo.py but any input (even hi) causes trackback errors to do with main - result = response['result']. Any ideas? I noticed that API.AI has changed a whole ton since this vid.
@SirajRaval
@SirajRaval 7 жыл бұрын
thx adam i think the code is deprecated ya needs to be updated
@Perfectdrug74
@Perfectdrug74 7 жыл бұрын
Hi Siraj, awesome video! I want to build a delivery chatbot but it has to be in Dutch. Can you help me out? Because Wit.ai doesn't support Dutch?
@SirajRaval
@SirajRaval 7 жыл бұрын
sure sirajraval1@gmail.com
@MrPouyan1987
@MrPouyan1987 7 жыл бұрын
Hi Siraj, the api.ai library somehow doesnt work after successfully installing it. have you faced this kind of problem before? I see an error for the first line of the code: from api.ai ...
@hedgty686
@hedgty686 7 жыл бұрын
Pouyan Jahangiri think it should be: from apiai import *
@Charles-rn3ke
@Charles-rn3ke 6 жыл бұрын
Where did the ML part come into play?
@orbyto2391
@orbyto2391 8 жыл бұрын
Cool. How does Api.ai stand up to Microsofts Bot Framework?
@SirajRaval
@SirajRaval 8 жыл бұрын
I haven't tried Microsoft's framework yet. I do think this bot they have is really cool bots.botframework.com/bot?id=4104c73d-90d6-4572-95eb-95241bd0cacb but i do see it doesn't integrate into as many services as API.AI does
@mithatcanturan1452
@mithatcanturan1452 8 жыл бұрын
hi siraj, I am getting importerror while trying to import agent, do you have an idea?
@SirajRaval
@SirajRaval 8 жыл бұрын
make sure you have the latest version of torch and have installed all your dependencies via 'luarocks'
@MayankGandhi94
@MayankGandhi94 8 жыл бұрын
What happened to you after June 26,2016 ? Com'mom you are doing Great job in helping us ! Please make Little elaborate videos and don't stop !
@SirajRaval
@SirajRaval 8 жыл бұрын
new series coming this week
@MayankGandhi94
@MayankGandhi94 8 жыл бұрын
Siraj Raval , Thank you😁 #awaiting.
@pocketman5510
@pocketman5510 8 жыл бұрын
Hi Siraj, Im trying to make the same chatbot as the example but pull the values I need from what the user types. Not sure how to do it, as what Im doing doesn't work. Pretty much: Im trying to write the values to a text file, say what flower type the user wants -> grab from what they input and write. Would I do it in the if statements? if result['action'] == 'colour': colourType(user_input) text_file.write(user_input) (???) or is it in the function: def flowerType(flowerType): text_file.write(user_input) Neither of these seem to work and neither seem to be called ... even if I put a print statement it doesn't get called. Please help me dude
@SirajRaval
@SirajRaval 8 жыл бұрын
iteratively program. so just have one line in your python file that prints out hello world and see if that compiles and runs. if that works, add more. you'll figure it out that way
@MK-nm7bc
@MK-nm7bc 8 жыл бұрын
hi Siraj . its an awesome video.. really interesting... can i get the API.AI exported file that you created for the demo ...please upload that file in the Github Thanks in Advance
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks Abin, I don't have it anymore but check out this tutorial for more info www.sitepoint.com/how-to-build-your-own-ai-assistant-using-api-ai/
@Pulkit__7
@Pulkit__7 7 жыл бұрын
Awesome bro
@luecu
@luecu 7 жыл бұрын
how can I implement a function that api.ai follows a decicion tree?
@bilh1
@bilh1 6 жыл бұрын
how do i integrate dialogflow with django ?
@rolandbrake
@rolandbrake 8 жыл бұрын
What's the name of the song in the beginning of the video please
@SirajRaval
@SirajRaval 8 жыл бұрын
desert rose - sting
@rolandbrake
@rolandbrake 8 жыл бұрын
Sirajology thank you :) keep up the nice work ;)))
@andreialmasan7054
@andreialmasan7054 8 жыл бұрын
Can someone help me whit one problem,I tried integrating the chat bot in a website using api.ai and when I launch the site from my computer it works but if I host it on google drive it doesn't respond Can someone help me?
@SirajRaval
@SirajRaval 8 жыл бұрын
try hosting it somewhere else. maybe heroku?
@ms2649
@ms2649 8 жыл бұрын
what is the name of the music at 0:07
@SirajRaval
@SirajRaval 8 жыл бұрын
hip hop instrumental chill. search that on youtube. i forgot the exact one lol
@ms2649
@ms2649 8 жыл бұрын
Thank you for answering my question :-)
@333Tushar333
@333Tushar333 8 жыл бұрын
Sir can you do tutorial on api.ai showing how to use it in android or Javascript, and how can i embed aiml scripts into android or provide me link or something.
@SirajRaval
@SirajRaval 8 жыл бұрын
coming up in the future
@AZTECMAN
@AZTECMAN 7 жыл бұрын
tight
@RektYuan
@RektYuan 8 жыл бұрын
How can I get a hairstyle as dope as yours
@SirajRaval
@SirajRaval 8 жыл бұрын
grow it out
@ust977
@ust977 8 жыл бұрын
For those running the demo.py using ubuntu 16.04LTS you might need to add at the very top the following in order to get it started: #!/usr/bin/env python # -*- coding: utf-8 -*-
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks for helping out
@logank1555
@logank1555 8 жыл бұрын
He knows the way haha
@SirajRaval
@SirajRaval 8 жыл бұрын
always
@satwikkansal
@satwikkansal 8 жыл бұрын
Cool.. too much information in five minutes.... but I've to watch it twice to grasp it :)
@SirajRaval
@SirajRaval 8 жыл бұрын
Ha, thanks i'll try to slow down next time:)
@ust977
@ust977 8 жыл бұрын
Please to install apiai do $pip install api.ai instead of $pip install apiai
@SirajRaval
@SirajRaval 8 жыл бұрын
thx
@vimalk78
@vimalk78 7 жыл бұрын
do a talk in Punjabi
@JordanShackelford
@JordanShackelford 7 жыл бұрын
Dat clickbait lol "for hackers"
@sebastiansandoval4861
@sebastiansandoval4861 7 жыл бұрын
Umm what do you think ahacker is?
Build an AI Reader - Machine Learning for Hackers #7
5:29
Siraj Raval
Рет қаралды 48 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 248 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
I Built an AI Trading Bot with Llama 2!
9:03
Siraj Raval
Рет қаралды 27 М.
How to Make an Amazing Video Game Bot Easily
7:34
Siraj Raval
Рет қаралды 485 М.
Why NVIDIA is Terrified of This New AI Chip
10:21
Siraj Raval
Рет қаралды 8 М.
Build an AI Composer - Machine Learning for Hackers #2
4:55
Siraj Raval
Рет қаралды 104 М.
How to Make a Language Translator - Intro to Deep Learning #11
8:48
Build an AI Artist - Machine Learning for Hackers #5
5:01
Siraj Raval
Рет қаралды 59 М.