Files
ollama-python/examples/create.py
2025-01-13 18:00:28 -08:00

6 lines
147 B
Python
Executable File

from ollama import Client
client = Client()
response = client.create(model='my-assistant', from_='llama3.2', stream=False)
print(response.status)