mirror of
https://github.com/kharonsec/ollama-python
synced 2026-05-09 00:22:44 +02:00
6 lines
147 B
Python
Executable File
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)
|