Conversational AI Design and Practice
GitHubAuthor
  • Preface
    • Syllabus
    • Schedule
  • 0. Getting Started
    • 0.1. Environment Setup
    • 0.2. Quiz
  • 1. Exploration
    • 1.1. Overview
    • 1.2. Project Ideas
    • 1.3. Quiz
  • 2. Dialogue Graph
    • 2.1. Emora STDM
    • 2.2. State Transition
    • 2.3. Matching Strategy
    • 2.4. Multi-turn Dialogue
    • 2.5. Quiz
  • 3. Contextual Understanding
    • 3.1. Natex
    • 3.2. Ontology
    • 3.4. Regular Expression
    • 3.5. Macro
    • 3.5. Quiz
  • 4. Interaction Design
    • 4.1. State Referencing
    • 4.2. Advanced Interaction
    • 4.3. Compound States
    • 4.4. Global Transition
    • 4.5. Saving and Loading
    • 4.6. Quiz
  • 5. LM-based Matching
    • 5.1. Language Models
    • 5.2. Quickstart with GPT
    • 5.3. Information Extraction
    • 5.4. Quiz
  • 6. Conversational Analysis
    • 6.1. H2H vs. H2M
    • 6.2. Team Evaluation
    • 6.3. Quiz
  • Project
    • Projects
    • Proposal Guidelines
    • Final Report Guidelines
  • Supplements
    • LINC Course
    • Page 1
Powered by GitBook

©2023 Emory University - All rights reserved

On this page
  • Python
  • GitHub
  • PyCharm

Was this helpful?

Export as PDF
  1. 0. Getting Started

0.1. Environment Setup

Setup a Python programming environment with GitHub and PyCharm.

Previous0. Getting StartedNext0.2. Quiz

Last updated 2 years ago

Was this helpful?

Python

  • Install .

  • Lower versions of Python may not be compatible with this course.

GitHub

  1. Login to (create an account if you do not have one).

  2. Create a new repository called conversational-ai and make it private.

  3. From the [Settings] menu, add the instructors as collaborators of this repository.

    • Jinho Choi:

    • Talyn Fan:

    • Benjamin Ascoli:

    • Sichang Tu:

PyCharm

Install 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 .

Configure your GitHub account:

  1. Go to [Preferences] - [Version Control] - [GitHub].

  2. Press [+], select Log in via GitHub, and follow the procedure.

Create a new project:

  1. Press the [Get from VCS] button on the Welcome prompt.

  2. Choose [GitHub] on the left menu, select the conversational-ai repository, and press [Clone] (make sure the directory name is conversational-ai).

Setup an interpreter:

  1. Go to [Preferences] - [Project: conversational-ai] - [Project Interpreter].

  2. Click Add Interpreter and select Add Local Interpreter.

  3. 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:

  1. Open a terminal by clicking [Terminal] at the bottom (or go to [View] - [Terminal]).

  2. python -m pip install --upgrade pip
  3. pip install emora_stdm
  4. If the terminal prompts "Successfully installed ...", the packages are installed on your machine.

Upgrade (if necessary) by entering the following command into the terminal:

Install the (STDM) with the following command:

Python 3.11.x
GitHub
jdchoi77
talynfan
bossben
SichangTu
PyCharm
academic license
pip
Emora State Transition Dialogue Manager