{"action":"created","issue":{"url":"https://api.github.com/repos/Donna-ai/Donna/issues/11","labels_url":"https://api.github.com/repos/Donna-ai/Donna/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Donna-ai/Donna/issues/11/comments","events_url":"https://api.github.com/repos/Donna-ai/Donna/issues/11/events","html_url":"https://github.com/Donna-ai/Donna/issues/11","id":60601474,"number":11,"title":"Thought pathways","user":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Donna-ai/Donna/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Donna-ai/Donna/milestones/2","html_url":"https://github.com/Donna-ai/Donna/milestones/v0.2.0","labels_url":"https://api.github.com/repos/Donna-ai/Donna/milestones/2/labels","id":1013772,"number":2,"title":"v0.2.0","description":"","creator":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2015-03-09T22:18:23Z","updated_at":"2015-03-11T02:37:08Z","due_on":"2015-03-15T03:00:00Z","closed_at":null},"comments":4,"created_at":"2015-03-11T02:37:08Z","updated_at":"2015-03-11T20:29:47Z","closed_at":null,"body":"Similar to [Neural pathways](http://en.wikipedia.org/wiki/Neural_pathway) except on a larger, more modular scale.\r\n\r\nWhile neural pathways connect neurons throughout distant areas of the brain, Donna's `thought pathways` would represent traversals through `thought handlers`.\r\n\r\nA `thought handler` is a function that transforms a `thought entity`, given it has an expected input and output data type that the handler supports processing. While the brain has clusters of neurons that connect to each other and eventually learn how to process information passing through them (neural network), a `thought handler` is like a *pre-computed neural network that is specialized for processing certain type of data and can output another specific type of data*. For instance, there are areas of the brain responsible for understanding speech. In Donna, those areas would be represented as individual `thought handlers`, such as `Speech-to-Text handler` that supports input type `audio` or `speech` and output type of `text`. Donna could have another `thought handler` for `text to Intent`, such as [wit.ai](wit.ai). \r\n\r\nA `thought entity` can be *thought* as a unit describing a chunk of related information that can be processed by Donna. \r\n\r\nSensory input ( `Input entities` ) will be received by Donna and then be converted to `Thought entities` that can be passed through `thought pathways` in the same way information in the human body's nervous system passes through the neurons in the brain. Graph traversal algorithms could be implemented to improve efficiency / precision of traversal from `input entity` through `thought handlers`. Neural networks could also be used to further optimize which `thought handlers` are used more often in different cases."},"comment":{"url":"https://api.github.com/repos/Donna-ai/Donna/issues/comments/78364153","html_url":"https://github.com/Donna-ai/Donna/issues/11#issuecomment-78364153","issue_url":"https://api.github.com/repos/Donna-ai/Donna/issues/11","id":78364153,"user":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T20:29:47Z","updated_at":"2015-03-11T20:29:47Z","body":"## Examples of situations for Donna to process:\r\n\r\n- `Sense` -> Sense/Input receiver plugin\r\n- `Thought` -> Thought handler plugin\r\n- `Output` -> Output handler plugin\r\n\r\n### Playing a song, requested from voice\r\n\r\n> \"Play <song name here>\" (Sense) -> Speech-to-text (Thought) -> text-to-intent with Wit.ai (Thought) -> intent processing for intent `play_song` (Thought) -> Play song on iTunes (Output)\r\n"}}