Artificial intelligence is a sub-discipline of computer science. AI tries to allow computers to mimic human intelligence in order to solve complex problems and make decisions at scale. Natural language generation (NLG) is a part of AI.
This short article about technology can be made longer. You can help Wikipedia by adding to it.