OU-CS-Capstone-2024 / NOTAMyWatch

Group Capstone project at the University of Oklahoma. Project consists of creating an app that will more effectively warn pilots about airspace hazards. Using the FAA API for NOTAMs.
0 stars 0 forks source link

Ai notam text translation #79

Closed Gabrieldowen closed 5 months ago

Gabrieldowen commented 5 months ago

in this pr we introduce a feature to translate the notam text into something more readable. It uses ajax to call the back end asynchronously to avoid refreshing the page. Then it calls the gemini API to decode it and return it back to the front end. See demo below

https://github.com/Gabrieldowen/NOTAMyWatch/assets/94488674/e52a10a8-7bd3-4393-9d9b-27147308d5d6

Gabrieldowen commented 5 months ago

It looks good to me, is there a limit on the number of translations it can do? May want to get other approval from frontend

Its 60 a minute. When I signed didn't see a total limit either

JmzCS50 commented 5 months ago

lgtm