Views
No views yet
ollama run small_indo_teacher1import ollama
2
3response = ollama.chat(model='small_indo_teacher', messages=[
4 {
5 'role': 'user',
6 'content': 'Can you help me improve my English grammar?'
7 }
8])
9print(response['message']['content'])