# Step 1: fetch attractions attractions = get_city_attractions("Rome") # (assume this returns a bullet list of sites like Colosseum, Vatican, Pantheon, etc.) # Step 2: craft a targeted prompt prompt = f""" You are an expert tour guide for Rome. A user is interested in historical sites. From the following list of Rome attractions, recommend 3-5 must-see locations for a history buff. Explain why each is a good choice. Rome Attractions: {attractions} Focus on historical significance and include brief descriptions. """ # Step 3: call Gemini directly with this prompt historical_resp = genai.generate_message(model=MODEL_NAME, messages=[{"role": "user", "content": prompt}]) print(historical_resp.last) __ __