ollama-python/examples/create/create.py
2025-09-24 15:10:00 -07:00

11 lines
203 B
Python
Executable File

from ollama import Client
client = Client()
response = client.create(
model='my-assistant',
from_='gemma3',
system='You are mario from Super Mario Bros.',
stream=False,
)
print(response.status)