This is the first pass to tie the dialogue system to Unity via TCP connection.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Use command-line to start the system. It requires python3.x and virtualenv package.
pip install virtualenv
Activate virtualenv:
cd venv/Scripts
activate
cd ../..
Install requirements:
pip install -r requirements.txt
Make sure the server is online on Unity side.
python test_unity.py
Start typing and get responses. If you want to get an echoing agent, comment out this part in test_unity.py:
# remove quotes if you want to have real response
clean_query = clean(query)
query, intent, context = return_response(clean_query)
print('response: ', query)
- Ozge Nilay Yalcin - 2018