5 What else can AI generate?
This chapter covers
- Using generative AI for code creation and code-related tasks
- Tools that allow code generation and how to use them
- Best code generation practices
- Generating video and related tools
- Generating audio, music, and related tools
Code that writes itself with little prompting and without much input seems magical, resembling a holy grail, at least to those working in computing. Given the advancements in artificial intelligence (AI) with generative AI, this endeavor seems possible today. We have seen some amazing and interesting things AI can generate—from language to images to holding an ongoing back-and-forth multiturn conversation—and many of them have strong use cases in enterprises. This chapter outlines the remaining things we can generate using AI.
We will first talk about code generation, what it means, how one should go about it, and the tools enterprises use. For example, Andrej Karpathy, one of the OpenAI cofounders, who used to lead Tesla’s AI and Vision team, recently said that GitHub Copilot helps him write approximately 80% of his code, which is a huge boost in productivity. Then, we will cover a few very early generations and explore application in videos and music. Let’s see how code generation works.