Please have a look at these and ensure you have the correct software installed on your machine ahead of the workshop.
We will be building a chatbot in stages as the workshops progress. The code in this repo relates to the version we will build in the May workshop.
See the bot in action online, or download the code and run it on your machine.
To run the bot on your machine, first ensure you have all the software prerequisites.
You will also need some proficiency with the command line.
To download the files:
- Click the green Code button at the top right.
- Select the Download ZIP option.
- Once the zip file has downloaded, unzip that folder.
- Using the command line, navigate into the folder that the unzip created - you should be able to see all the files.
Now type the following in the command line:
$ cd flask-bot
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ export FLASK_ENV=development
$ export FLASK_APP=bot.py
$ flask run --host=0.0.0.0 --extra-files participants.json
The bot will be running at http://localhost:5000.
Here is an overview. I will provide bespoke learning materials on the day.
We will go through some basic principles of the JavaScript programming language.
If you would like to do some learning ahead of the workshop, freeCodeCamp has some excellent tutorials.
We will go through some basic principles of the JavaScript programming language.
If you would like to do some learning ahead of the workshop, freeCodeCamp has some excellent tutorials.
We will look at how to use JavaScript and Python together to build a chatbot application. The chatbot will take text inputs from the user and respond with information from the database.
We will also look at the type of work we need to do to improve the data to provide a better, more natural experience for the user.