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
# Requires Ollama v0.35.0 or later and the local nimble model.
response = ollama.systemone(
model='nimble',
state={'ticket': 'I was charged twice. Please refund the extra payment.'},
questions={
'team': {'type': 'choice', 'instructions': 'Which team should handle this ticket?', 'criteria': {'billing': 'Payments and refunds', 'technical': 'Bugs and integrations', 'other': 'None of the above'}},
'refund': {'type': 'noul', 'instructions': 'Does the customer explicitly ask for a refund?'},
'urgency': {'type': 'score', 'instructions': 'How urgent is this ticket?', 'criteria': ['Routine', 'Soon', 'Urgent']},