I am trying to upload some files at the start of the session that the AI should be aware of, doesn’t need to be at runtime. Is there a way to achieve this without using generateContent?
Hi @Dani_Arkadia , Welcome to the forum.
For your use case, you can include key content from your files in the system_instruction at the start of the session. This way, the model has the necessary context without needing to access files at runtime.