FacVain / dil-asistanim

1 stars 0 forks source link

Update the Backend to compensate for the new changes in deployed BERT models. #60

Open FacVain opened 8 months ago

FacVain commented 8 months ago

Task Description

We have to access the Models on Vertex AI by sending requests to their endpoints.

Implementation Details, Design and Tasks

Change the request mechanism in the backend so that the new requests are sent to Vertex AI endpoints rather than our flask app. Refactor the responses obtained from two endpoints to a single Bertresponse object and send it to the frontend.

Expected Output and Acceptance Criteria

The system should reliably return sentiment and tone scores in a BERT response object from api/request endpoint.