import dspy lm = dspy.LM('gemini/gemini-2.0-flash') dspy.configure(lm=lm) # Send a simple prompt response = lm(prompt="hello world") # Print the response text print(response)