masterbranch is the implementation of CoMMA and was used for the user study.single-utterancebranch is the baseline agent that was compared with CoMMA.video-figurebranch contains the realtime visualization tool (which is namedrealtime-vis.ipynb) and the dialogflow agent file.
pip3 install -r requirements.txt- Python 3.5 with Flask==1.1.2
- Valid SSL certificate is required with filename of
server.crtandserver.key. - Import the agent in your dialogflow console, and configure the webhook settings.
- Simply
sudo ./app.pyfrom your local environment. - Simply
./app.py --helpto see the usage.
app.py: Webhook responses management.mashup.py: Class definitions for mashup and each service.identifier2ont.py: Converting user utterance to corresponding ontology definition.ont2nl.py: Converting ontology definition to corresponding natural langauge.
mashup-test-generate.ipynb: Test if the mashup is properly generated from the dump interaction file.mashup-test-merge.ipynb: (Deprecated) Test if two mashup with the same trigger is properly merged.mashup-test-speak.ipynb: Test if the description for a mashup is properly generated from the dump interaction file.