0.1. Environment Setup
Setup a Python programming environment with GitHub and PyCharm.
Python
Install Python 3.11.x.
Lower versions of Python may not be compatible with this course.
GitHub
Login to GitHub (create an account if you do not have one).
Create a new repository called
conversational-ai
and make it private.
PyCharm
Install PyCharm on your local machine:
The following instructions assume that you have "PyCharm 2022.3.x Professional Edition".
You can get the professional version by applying for an academic license.
Configure your GitHub account:
Go to
[Preferences] - [Version Control] - [GitHub]
.Press
[+]
, selectLog in via GitHub
, and follow the procedure.
Create a new project:
Press the
[Get from VCS]
button on theWelcome
prompt.Choose
[GitHub]
on the left menu, select theconversational-ai
repository, and press[Clone]
(make sure the directory name isconversational-ai
).
Setup an interpreter:
Go to
[Preferences] - [Project: conversational-ai] - [Project Interpreter]
.Click
Add Interpreter
and selectAdd Local Interpreter
.In the prompted window, choose
[Virtualenv Environment]
on the left menu, configure as follows, then press[OK]
:Environment:
New
Location:
LOCAL_PATH/conversational-ai/venv
Base interpreter:
Python 3.11
Install packages:
Open a terminal by clicking
[Terminal]
at the bottom (or go to[View] - [Terminal]
).Upgrade pip (if necessary) by entering the following command into the terminal:
Install the Emora State Transition Dialogue Manager (STDM) with the following command:
If the terminal prompts "Successfully installed ...", the packages are installed on your machine.
Last updated