BaşlayınÜcretsiz başlayın

Handling timeout errors

To make the review analysis system more robust and user-friendly, you are now required to add error handling to the analyze_review endpoint. You need to handle timeouts and internal server errors if the model couldn't process the text in time or if there was an error while making the predictions.

To simulate this test, a delay of 10 seconds has been added in the model prediction process in model.py.

Bu egzersiz, kursun bir parçasıdır

Deploying AI into Production with FastAPI

Kursa Göz Atın

Uygulamalı etkileşimli egzersiz

Teoriyi etkileşime dönüştürün, interaktif egzersizlerimizden biriyle

Egzersize başla