mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 17:15:23 -04:00
89e719ab92
* chore: upgrade ruff & sort imports
5 lines
113 B
Python
5 lines
113 B
Python
from ollama import generate
|
|
|
|
response = generate('llama3.2', 'Why is the sky blue?')
|
|
print(response['response'])
|