Open hellojunho opened 1 month ago
@kim-song-jun Yesterday, @hellojunho and @yangwonjoon had a brief meeting about the end of the game. The meeting went like this:
/game/end
url the moment the user chooses the final card. Gemini
at the same time as /game/end
is called.Gemini
a question asynchronously using celery, and returns a status of { "success" : "READY"} while the question is being generated, and a Response of the form { "success" : "FINISHED", "answer" : "response ..."} as soon as the question is finished. as soon as the question is created. 2024-06-17 @kim-song-jun and @hellojunho had a brief meeting about the end of the game. The meeting went like this.
Task_Status
showing the status of gemini answer
using celery
./game/end
into the APIs of /game/end
, /game/status
, and /game/answer
.
/game/end
: Runs gemini answer task
and checks whether the game has ended./game/status
: Check the progress (STARTED, RUNNING, FINISHED) of the gemini answer task
. /game/answer
: Returns gemini answer
.gemini answer
writes to a file -> saves the path of the file in the DB -> when using this, reads the file through the path of the file and passes it to the frontend.@hellojunho
It would be good to learn about efs
, s3
and how the OS handles files in a non-blocking
way, etc.
@kim-song-jun Would you confirm my code about feat/#14-celery-setting?
@kim-song-jun Would you confirm my code about feat/#14-celery-setting?
Okay I will check it
@kim-song-jun Would you confirm my code about feat/#14-celery-setting?
Okay I will check it
Thank you!
If you have any questions, please mention the following
@kim-song-jun Would you confirm my code about feat/#14-celery-setting?
Okay I will check it
Thank you!
If you have any questions, please mention the following
Merged PR #15
@hellojunho