Closed Waidhoferj closed 4 years ago
Its also tested with the website :)
Thanks for making a team @mfekadu! That'll be really useful for debugging! I'll share all of my request files.
@chidiewenike regarding the user experience, I made a pretty awesome tokenizer on the frontend, but if we're passing this to the average user, there might be an annoyance. Lmk if I should just upload the question & answer text. You can try the updated tokenizer here.
Btw I don't have access to merge. Whoever does, feel free to send it!
You should probably have access to merging - I'll see if I can fix that.
What's New?
/new_data/phrase
that accepts a json object in the the format{question: {text: string, variables: list}, answer: {text: string, variables: list}}
PhrasesValidator
that ensures the quality of the inputted dataQuestionAnswerPair
class to include averified
boolean field which determines whether a CSAI member has ensured the quality of the QA dataType of change (pick-one)
How Has This Been Tested?
Postmannnn!!! I made those rapid fire requests pew, pew
Checklist (check-all-before-merge)
formatting help:
- [x]
means "checked' and- [ ]
means "unchecked"[x] I documented my code according to the [Google Python Style Guide][1]
[x] I ran
./format.sh
because it automatically cleans my code for me 😄