I am developing an app via cursor in Expo React Native environment. In the app, the user simply selects 1 or more than 1 file (These are the files in the firebase storage that the user uploaded) and proceeds, then gemini summarises the content of these files. That’s exactly what I’m trying to do, but I can’t get it right.
I was undecided about doing this on the client side. I thought about running a function in Firebase and having this function do exactly this and return the summary back to the app, but as I said, I failed. How do you think I should do it? Is this possible with Firebase Functions? Or is there a more accurate approach than the approach I mentioned? (My code knowledge is quite low)
I’d appreciate your help!