DEBSOURCES
Skip Quicknav
sources / ollama-python / 0.5.3-1 / examples / generate.py
1234
from ollama import generate response = generate('gemma3', 'Why is the sky blue?') print(response['response'])