Fix create examples (#421)

This commit is contained in:
Jeffrey Morgan
2025-01-15 22:43:44 -08:00
committed by GitHub
parent eefe5c9666
commit 7a6ab044c6
2 changed files with 7 additions and 7 deletions
+6 -1
View File
@@ -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)