Closed Waidhoferj closed 4 years ago
@Waidhoferj What is the format of the data?
The input of the insert_entity()
function takes a dictionary in the form { "question": str }
. The table that stores the data is called QuestionLog
and has three columns: an integer id, a timestamp (UTC), and question which is the text of the question.
Rebase was an absolute nightmare... @chidiewenike plz approve so I don't have to go through that again in another couple weeks.
That might've been my fault...sorry about that!
Your Render PR Server URL is https://nimbus-pr-141.onrender.com.
Follow its progress at https://dashboard.render.com/web/srv-bra24v18vr2d92lo7mcg.
Your Render PR Server at https://nimbus-pr-141.onrender.com is now live!
View it on your dashboard at https://dashboard.render.com/web/srv-bra24v18vr2d92lo7mcg.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities (and
0 Security Hotspots to review)
1 Code Smell
No Coverage information
0.0% Duplication
Your Render PR Server at https://nimbus-pr-141.onrender.com is now live!
View it on your dashboard at https://dashboard.render.com/web/srv-bra24v18vr2d92lo7mcg.
I think this was taken care of in a separate PR (#170?) Are we good to close this PR @Waidhoferj ?
Merged in #170, closing.
What's New?
With the rollout of the Nimbus Chatbot, we're gonna want to collect all of that sweet, sweet question data so that we can improve our model. I added a database call to the /ask endpoint that stores the question asked along with a timestamp.
Type of change (pick-one)
How Has This Been Tested?
I tested the endpoint using postman and ensured that errors storing the question will be caught so Nimbus can answer the question uninterrupted
Checklist (check-all-before-merge)