You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions seem quite similar to the openapi api so it should be quite easy to impl
import ollama
response = ollama.chat(
model='deepseek-r1:1.5b',
messages=[
{'role': 'user', 'content': ' what is the probability of pulling 4 ace of spades from a deck of cards?'}
]
)
# Print the response
print(response['message']['content'])
The text was updated successfully, but these errors were encountered:
What would your feature do?
I googled it and found https://ollama.com/
The functions seem quite similar to the openapi api so it should be quite easy to impl
The text was updated successfully, but these errors were encountered: