Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create API endpoint to store RaspberryPiLogs #60

Open
mfekadu opened this issue Feb 24, 2020 · 1 comment · May be fixed by #68
Open

Create API endpoint to store RaspberryPiLogs #60

mfekadu opened this issue Feb 24, 2020 · 1 comment · May be fixed by #68
Assignees
Labels
enhancement New feature or request

Comments

@mfekadu
Copy link
Member

mfekadu commented Feb 24, 2020

Objective

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

Key Result

Scraped RasperryPiLogs are saved in database.

Details

  • Add API to accept a list of scraped RasperryPiLogs
  • Create save_rpi_logs() function in database_wrapper to build SQLAlchemy RasperryPiLogs object and save it to the database.

@chidiewenike And Tyler Herzog are good points of contact

@mfekadu mfekadu added the enhancement New feature or request label Feb 24, 2020
@MaxMohammadi MaxMohammadi self-assigned this Feb 24, 2020
@MaxMohammadi MaxMohammadi linked a pull request Feb 25, 2020 that will close this issue
10 tasks
@chidiewenike
Copy link
Contributor

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]"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants