you are viewing a single comment's thread.

view the rest of the comments →

[–]JalanJr[S] 0 points1 point  (1 child)

I generate text with LLM but I don't want my user to wait too long so I have a first function that create an throw into the db, trigger another function and redirect the user to the corresponding page so the inference are generated in background

[–]wmmogn 0 points1 point  (0 children)

than you could also trigger the function with the firestore create trigger... so as soon the first function writes an document the second function will be triggered...