Can I use the feedback endpoint without the UI? #2434
Replies: 4 comments 2 replies
-
Hi @asharm0662 , cool that you've found these! So it is definitely possible to interact with the REST API without a UI. Here you will find the definition of the REST API endpoints. Can you clarify for me what you need in terms of the label creation? The Annotation tool allows you to upload files, perform Question Answering annotation and then export this in either CSV or SQuAD format. |
Beta Was this translation helpful? Give feedback.
-
Ok I will try my best to address these points. I believe the workflow will be something like this. Your user submits a POST request to the /query endpoint. They will receive the model's prediction that will list answers. You will then submit a POST request to the /feedback endpoint where you copy over the predicted answer and also provide the user feedback. The same can also be done for systems that return documents instead of answers I believe.
Fields like query, document and answer you should be able to copy from the result returned by your query. The most important fields for you to fill will be
|
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
In short I want to know how can I run feedback.py independently..any thoughts on this @brandenchan |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am wanting to train an underlying QA model. I found out about the Annotation and feedback REST API here
How can I use these end point as a stand alone endpoints and submit the feedback directly to this endpoint without the UI?
Where can I find what format the labels need to be created under and use a template to manually create annotations? Can I get a csv example file for the labels that can be exported in SQuAD form?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions