generateContent

Java-friendly overload that accepts a Consumer for configuring the chat request.