Chatbot DT
Chatbot DT
Chatbot DT
Experiment: 2.4
1. Aim of the practical: Create an artificial intelligence powered ChatBot to mimic human
interactions for different application domains.
While a bot is a computer’s ability to understand human speech or text short for chat robot. A chatbot is merely a
computer program that fundamentally simulates human conversations. It allows a form of interaction between a
human and a machine the communication, which happens via messages or voice command.
A chatbot is programmed to work independently from a human operator. It can answer questions formulated to it in
natural language and respond like a real person. It provides responses based on a combination of predefined scripts
and machine learning applications.
Chatbots can live in messaging platforms like Slack, Facebook Messenger and Telegram and serve many purposes
– ordering products, knowing about weather and managing your finance among other things. The dynamic
intelligence of chatbots will allow them to converse with users as in a way we converse and communicate in
University Institute of Engineering
reallife situations. Conversational communication skill of the chatbot will not only make it a trendy and promising
technology but also empower them to deliver what we are looking for – response in human terms.
4. Code:
Install rasa library
!pip install rasa==2.0.2
Install python
!pip install -U ipython
Install nest_asyncio
!pip install nest_asyncio==1.3.3
config = "config.yml"
training_files = "data/" domain
= "domain.yml" output="models/"
print(config, training_files, domain, output)