def predict_text() -> str:
    """Ideation example with a Large Language Model"""

    model = genai.GenerativeModel("gemini-1.5-pro-002")
    response = model.generate_content(
        "Give me ten interview questions for the role of program manager.",
    )

    return response.text
Ideation example with a Large Language Model
packages/sample-app/sample_app/gemini.py