calpoly-csai / api

Official API for the NIMBUS Voice Assistant accessible via HTTP REST protocol.
https://nimbus.api.calpolycsai.com/
GNU General Public License v3.0
9 stars 4 forks source link

Create API endpoint to store RaspberryPiLogs #60

Open mfekadu opened 4 years ago

mfekadu commented 4 years ago

Objective

Add API to store scraped RasperryPiLogs following the model of #53 .

Key Result

Scraped RasperryPiLogs are saved in database.

Details

@chidiewenike And Tyler Herzog are good points of contact

chidiewenike commented 4 years ago

Current solution is a dictionary fed into Google Firebase. The dictionary is as follows:

log_dict = {
"entity" : "[extracted entity]",
"normalized question" : "[input question with the variable extracted and tag replaced]",
"question" : "[user input question]",
"answer" : "[the answer from the NLP function]"
}