#!/bin/bash

curl -H "Content-Type: application/json" -XPOST \
  -d '{"states_batch": [{"id": "5d921b7bbf19143764465e1c", "location": "lab", "utterances": [{"id": null, "text": "hi how are you", "user": {"id": "5d921b7bbf19143764465e1a", "user_telegram_id": "8969458", "user_type": "human", "device_type": "cmd", "persona": [], "profile": {"name": null, "gender": null, "birthdate": null, "location": null, "home_coordinates": null, "work_coordinates": null, "occupation": null, "income_per_year": null }, "attributes": {} }, "annotations": {"toxic_classification": {"identity_hate": 0.00018062446906697005, "insult": 0.0002762553340289742, "obscene": 0.0001245028543053195, "severe_toxic": 6.44053507130593e-05, "sexual_explicit": 0.00017426528211217374, "threat": 0.0002576278639025986, "toxic": 0.0008844200638122857 }, "sentseg": {"punct_sent": "hi. how are you?", "segments": ["hi.", "how are you?"] } }, "date_time": "2019-09-30 15:12:59.927414", "selected_skills": {} } ], "channel_type": "cmd_client", "human": {"id": "5d921b7bbf19143764465e1a", "user_telegram_id": "8969458", "user_type": "human", "device_type": "cmd", "persona": [], "profile": {"name": null, "gender": null, "birthdate": null, "location": null, "home_coordinates": null, "work_coordinates": null, "occupation": null, "income_per_year": null }, "attributes": {} }, "bot": {"id": "5d921b7bbf19143764465e1b", "user_type": "bot", "persona": ["I am a socialbot.", "I live on Amazon Web Service.", "I was born during the Alexa Prize Challenge.", "I like talking to people.", "I love to meet new people.", "I like jazz music.", "I like listening music.", "I like watching movies and series.", "I like to play sports.", "I like to work out.", "I enjoy reading books.", "I love dogs, especially bulldog.", "I like cats, they are funny.", "I love hot-dogs.", "I like sushi.", "I like pizza and pasta.", "I do not like chocolate.", "I am never still."], "attributes": {} } }]}' \
  http://0.0.0.0:3000/selected_skills