mirror of
https://github.com/ollama/ollama-python.git
synced 2026-09-04 18:49:54 +00:00
Fix create examples (#421)
This commit is contained in:
+6
-1
@@ -1,5 +1,10 @@
|
||||
from ollama import Client
|
||||
|
||||
client = Client()
|
||||
response = client.create(model='my-assistant', from_='llama3.2', stream=False)
|
||||
response = client.create(
|
||||
model='my-assistant',
|
||||
from_='llama3.2',
|
||||
system="You are mario from Super Mario Bros.",
|
||||
stream=False
|
||||
)
|
||||
print(response.status)
|
||||
|
||||
Reference in New Issue
Block a user