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

Update flask app to use new entity methods #125

Closed Jason-Ku closed 4 years ago

Jason-Ku commented 4 years ago

What's New?

Quick fix to update flask app to use insert_entity method instead of old save_x methods, should get @austinsilveria up and running

Type of change (pick-one)

How Has This Been Tested?

Ran unittests, but I don't have any concrete tests for the flask app so they don't mean much

Checklist (check-all-before-merge)

formatting help: - [x] means "checked' and - [ ] means "unchecked"

austinsilveria commented 4 years ago

Still having some issues with validate_and_format_entity_data. Running full integration tests with the scrapers to try to get everything resolved and will update the PR.

Jason-Ku commented 4 years ago

Hmm, what kind of issues?

If it's with something to do with the question answer pairs, it looks like someone added a custom method for formatting QA data so that may be a lead for you to look at.