Gemini-Flutterflow | PDF retriever

Hello

I know that the Gemini's feature added is too recent. But, if anybody knows, which is the best way to make queries to the gemini's api, based on a pdf uploaded by the user?

Is it needed to make an embedding previously?

How to make an standard prompt for all pdf that will be uploaded. i.e: imagine that I would require that Gemini performs an specific task (with a standard prompt indicating the task). Where to put that prompt? (In the AIStudio of Google, or inside the Flutterflow app)

Thanks!

2