ai_helper.put_labels: display content of strings rather than 'nan'
ai_helper: add functions to get direction indices and strings