mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-19 13:04:07 +00: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'])
|