Newer
Older
cortex-hub / ai-hub / app / core / pipelines / test_gemini.py
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)