Systemy_dialogowe/system_mockup/taktyka_dialogu.py
2022-06-08 10:23:01 +02:00

22 lines
423 B
Python

def taktyka_dialogu(state, frame):
if state['current_context'] in ['hello', 'pomoc', 'bye']:
return short_thread(state)
else:
return long_thread(state)
def short_thread(state):
if state['current_context'] == 'pomoc':
pass
#TODO
else:
return state['current_context']
def long_thread(state):
state['topics']
#todo dodać mock github api