Open tonyphoang opened 3 months ago
How do you set the max token with ollama python? My code doesn't seem to work. Thanks! output=ollama.chat(model='my_model',max_token=5, messages=[])
output=ollama.chat(model='my_model',max_token=5, messages=[])
set it in options, like this
How do you set the max token with ollama python? My code doesn't seem to work. Thanks!
output=ollama.chat(model='my_model',max_token=5, messages=[])