calpoly-csai / swanton

Swanton Pacific Ranch chatbot with a knowledge graph
MIT License
3 stars 1 forks source link

Upload log to a database #7

Closed chidiewenike closed 4 years ago

chidiewenike commented 4 years ago

Objective

Checks for internet connection and when connected to the internet, uploads the log to a database.

Key Result

Uploads QA logs to a database when moved into Wi-Fi to extract log data.

Details

The function will check for internet connection. If there is no connection, it will simply return. If there is connection, it will take the contents of the local CSV which logs user QA and store it into a database. It will then remove the CSV log.

chidiewenike commented 4 years ago

Upon speaking with Swanton, they said they have spots that have Wi-Fi. For the units that are not within these Wi-Fi spots, they said that they could move them into the Wi-Fi spots for the sole purpose of uploading the logs.

chidiewenike commented 4 years ago

Looking for DB suggestions. @mfekadu