{"action":"created","issue":{"url":"https://api.github.com/repos/fczuardi/calamarcopollo/issues/56","repository_url":"https://api.github.com/repos/fczuardi/calamarcopollo","labels_url":"https://api.github.com/repos/fczuardi/calamarcopollo/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/fczuardi/calamarcopollo/issues/56/comments","events_url":"https://api.github.com/repos/fczuardi/calamarcopollo/issues/56/events","html_url":"https://github.com/fczuardi/calamarcopollo/issues/56","id":160734458,"number":56,"title":"são carlos value of entity places sometimes comes without metadata","user":{"login":"fczuardi","id":7760,"avatar_url":"https://avatars.githubusercontent.com/u/7760?v=3","gravatar_id":"","url":"https://api.github.com/users/fczuardi","html_url":"https://github.com/fczuardi","followers_url":"https://api.github.com/users/fczuardi/followers","following_url":"https://api.github.com/users/fczuardi/following{/other_user}","gists_url":"https://api.github.com/users/fczuardi/gists{/gist_id}","starred_url":"https://api.github.com/users/fczuardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fczuardi/subscriptions","organizations_url":"https://api.github.com/users/fczuardi/orgs","repos_url":"https://api.github.com/users/fczuardi/repos","events_url":"https://api.github.com/users/fczuardi/events{/privacy}","received_events_url":"https://api.github.com/users/fczuardi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fczuardi/calamarcopollo/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/fczuardi/calamarcopollo/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-16T18:56:54Z","updated_at":"2016-06-20T16:57:46Z","closed_at":null,"body":"Here are two instances of the same statement causing wit to return different outcomes, from the logs:\r\n\r\n```\r\nMessage: de são carlos pra são paulo\r\n        de sao carlos pra sao paulo\r\noutcome {\"text\":\"de sao carlos pra sao paulo\",\"entities\":{\"origin\":[{\"_body\":\"sao carlos\",\"confidence\":0.9998014023978596,\"_start\":3,\"_end\":13,\"_role\":\"origin\",\"_entity\":\"places\",\"type\":\"value\",\"value\":\"sao carlos\"}],\"destination\":[{\"_body\":\"sao paulo\",\"confidence\":0.9969396806613915,\"_start\":18,\"_end\":27,\"_role\":\"destination\",\"metadata\":\"{\\\"slugs\\\": [\\\"sao-paulo-sp-todos\\\", \\\"sao-paulo-tiete-sp\\\", \\\"sao-paulo-barra-funda-sp\\\", \\\"sao-paulo-jabaquara-sp\\\", \\\"aeroporto-congonhas-sp\\\"]}\",\"_entity\":\"places\",\"type\":\"value\",\"value\":\"Sao Paulo, SP\"}],\"trip\":[{\"confidence\":0.999999997430276,\"_entity\":\"trip\",\"value\":\"info\"}]}}\r\nchat, from, date { id: '1704285519822058',\r\n  session: { destination: undefined, origin: undefined },\r\n  date: 1466100093947 } { first_name: 'Gabriel',\r\n  last_name: 'Soga',\r\n  profile_pic: 'https://scontent.xx.fbcdn.net/v/t1.0-1/p200x200/10410755_10207995885728260_1621715811033008293_n.jpg?oh=b58d7b9e3a7342c245ca12547e6d60b1&oe=57D75DEE',\r\n  locale: 'en_US',\r\n  timezone: -3,\r\n  gender: 'male' } 1466100093947\r\nreply Desculpa, mas não conheço sao carlos 😶.\r\n```\r\n\r\n```\r\nMessage: de são carlos pra são paulo\r\n        de sao carlos pra sao paulo\r\noutcome {\"text\":\"de sao carlos pra sao paulo\",\"entities\":{\"origin\":[{\"_body\":\"sao carlos\",\"confidence\":0.9998014023978596,\"_start\":3,\"_end\":13,\"_role\":\"origin\",\"metadata\":\"{\\\"slugs\\\": [\\\"sao-carlos-sp\\\"]}\",\"_entity\":\"places\",\"type\":\"value\",\"value\":\"Sao Carlos, SP\"}],\"destination\":[{\"_body\":\"sao paulo\",\"confidence\":0.9969396806613915,\"_start\":18,\"_end\":27,\"_role\":\"destination\",\"metadata\":\"{\\\"slugs\\\": [\\\"sao-paulo-sp-todos\\\", \\\"sao-paulo-tiete-sp\\\", \\\"sao-paulo-barra-funda-sp\\\", \\\"sao-paulo-jabaquara-sp\\\", \\\"aeroporto-congonhas-sp\\\"]}\",\"_entity\":\"places\",\"type\":\"value\",\"value\":\"Sao Paulo, SP\"}],\"trip\":[{\"confidence\":0.999999997430276,\"_entity\":\"trip\",\"value\":\"info\"}]}}\r\nchat, from, date { id: '1704285519822058',\r\n  session:\r\n   { destination: 'Sao Paulo, SP',\r\n     origin: undefined,\r\n     timeFilter: null,\r\n     destinationMeta: { slugs: [Object] },\r\n     originMeta: null },\r\n  date: 1466100102129 } { first_name: 'Gabriel',\r\n  last_name: 'Soga',\r\n  profile_pic: 'https://scontent.xx.fbcdn.net/v/t1.0-1/p200x200/10410755_10207995885728260_1621715811033008293_n.jpg?oh=b58d7b9e3a7342c245ca12547e6d60b1&oe=57D75DEE',\r\n  locale: 'en_US',\r\n  timezone: -3,\r\n  gender: 'male' } 1466100102129\r\nrequesting https://api.clickbus.com.br/api/v1/trips?from=sao-carlos-sp&to=sao-paulo-sp-todos&departure=2016-06-16\r\nreply arrived\r\n```\r\n\r\n\r\n<!---\r\n@huboard:{\"order\":1.4998500149985001,\"milestone_order\":56,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/fczuardi/calamarcopollo/issues/comments/227202648","html_url":"https://github.com/fczuardi/calamarcopollo/issues/56#issuecomment-227202648","issue_url":"https://api.github.com/repos/fczuardi/calamarcopollo/issues/56","id":227202648,"user":{"login":"fczuardi","id":7760,"avatar_url":"https://avatars.githubusercontent.com/u/7760?v=3","gravatar_id":"","url":"https://api.github.com/users/fczuardi","html_url":"https://github.com/fczuardi","followers_url":"https://api.github.com/users/fczuardi/followers","following_url":"https://api.github.com/users/fczuardi/following{/other_user}","gists_url":"https://api.github.com/users/fczuardi/gists{/gist_id}","starred_url":"https://api.github.com/users/fczuardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fczuardi/subscriptions","organizations_url":"https://api.github.com/users/fczuardi/orgs","repos_url":"https://api.github.com/users/fczuardi/repos","events_url":"https://api.github.com/users/fczuardi/events{/privacy}","received_events_url":"https://api.github.com/users/fczuardi/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T16:57:46Z","updated_at":"2016-06-20T16:57:46Z","body":"another:\r\n\r\n![screen shot 2016-06-20 at 1 57 16 pm](https://cloud.githubusercontent.com/assets/7760/16203092/f544c944-36ee-11e6-91aa-23d0835c263d.png)\r\n"}}
{"actor":{"display_login":"fczuardi"}}