Building Chatbots in Python
Learn the fundamentals of how to build conversational bots using rule-based systems as well as machine learning.
Comienza El Curso Gratis4 horas15 vídeos49 ejercicios70.312 aprendicesDeclaración de cumplimiento
Crea Tu Cuenta Gratuita
o
Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.¿Entrenar a 2 o más personas?
Probar DataCamp for BusinessPreferido por estudiantes en miles de empresas
Descripción del curso
Messaging and voice-controlled devices are the next big platforms, and conversational computing has a big role to play in creating engaging augmented and virtual reality experiences. This course will get you started on the path toward building such applications. There are a number of unique challenges to building these kinds of programs, like how do I turn human language into instructions for machines? In this course, you'll tackle this first with rule-based systems and then with machine learning. Some chat systems are designed to be useful, while others are just good fun. You will build one of each and put everything together to make a helpful, friendly chatbot. Once you complete the course, you’ll also learn how to connect your chatbot to Facebook Messenger!
¿Entrenar a 2 o más personas?
Obtén a tu equipo acceso a la plataforma DataCamp completa, incluidas todas las funciones.- 1
Chatbots 101
GratuitoIn this chapter, you'll learn how to build your first chatbot. After gaining a bit of historical context, you'll set up a basic structure for receiving text and responding to users, and then learn how to add the basic elements of personality. You'll then build rule-based systems for parsing text.
Introduction to conversational software50 xpEchoBot I100 xpEchoBot II100 xpCreating a personality50 xpChitchat100 xpAdding variety100 xpELIZA I: asking questions100 xpText processing with regular expressions50 xpELIZA II: Extracting key phrases100 xpELIZA III: Pronouns100 xpELIZA IV: Putting it all together100 xp - 2
Understanding natural language
Here, you'll use machine learning to turn natural language into structured data using spaCy, scikit-learn, and rasa NLU. You'll start with a refresher on the theoretical foundations and then move onto building models using the ATIS dataset, which contains thousands of sentences from real people interacting with a flight booking system.
Understanding intents and entities50 xpIntent classification with regex I100 xpIntent classification with regex II100 xpEntity extraction with regex100 xpWord vectors50 xpword vectors with spaCy100 xpIntents and classification50 xpIntent classification with sklearn100 xpEntity extraction50 xpUsing spaCy's entity recognizer100 xpAssigning roles using spaCy's parser100 xpRobust language understanding with rasa NLU50 xpRasa NLU100 xpData-efficient entity recognition100 xp - 3
Building a virtual assistant
In this chapter, you'll build a personal assistant to help you plan a trip. It will be able to respond to questions like "are there any cheap hotels in the north of town?" by looking inside a hotel’s database for matching results.
Virtual assistants and accessing data50 xpSQL basics50 xpSQL statements in Python100 xpExploring a DB with natural language50 xpCreating queries from parameters100 xpUsing your custom function to find hotels100 xpCreating SQL from natural language100 xpIncremental slot filling and negation50 xpRefining your search100 xpBasic negation100 xpFiltering with excluded slots100 xp - 4
Dialogue
Everything you've built so far has statelessly mapped intents to actions and responses. It's amazing how far you can get with that! But to build more sophisticated bots you will always want to add some statefulness. That's what you'll do here, as you build a chatbot that helps users order coffee.
Why statefulness is key50 xpForm filling100 xpAsking contextual questions100 xpDealing with rejection100 xpAsking questions & queuing answers50 xpPending actions I100 xpPending actions II100 xpPending state transitions100 xpPutting it all together I100 xpPutting it all together II100 xpFrontiers of dialogue research50 xpGenerating text with neural networks100 xpCongratulations!50 xp
¿Entrenar a 2 o más personas?
Obtén a tu equipo acceso a la plataforma DataCamp completa, incluidas todas las funciones.colaboradores
requisitos previos
Introduction to Natural Language Processing in PythonAlan Nichol
Ver MásCo-founder and CTO of Rasa
¿Qué tienen que decir otros alumnos?
¡Únete a 15 millones de estudiantes y empieza Building Chatbots in Python hoy mismo!
Crea Tu Cuenta Gratuita
o
Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.