I have been looking into Viv, an artificial intelligent agent in development. Here is a demonstration of Viv (by Dag Kittlaus).
Based on what I understand, this AI can generate new code and execute it based on a query from the user.
What I am curious to know is how this AI can learn to generate code based on some query. What kind of machine learning algorithms are involved in this process?
One thing I considered is breaking down a dataset of programs by step. For example, here is the code to take an average of 5 terms
- Add all 5 terms together
- Divide by 5
Then I would train an algorithm to convert text to code. That is as far as I have figured out. However, I haven't tried anything because I'm not sure where to start.
Does anybody have any ideas on how Viv is implemented?