AWS introduced CodeWhisperer to help customers train AI models. The solution automatically generates code for training AI datasets.
CodeWhisperer is available in preview for now. The service automatically generates code for AI model training projects.
Code is generated based on contextual hints. CodeWhisperer considers the location of the cursor in the source code, code that precedes the cursor, comments and code in other files within the same project.
Furthermore, CodeWhisperer can generate code snippets based on natural language text included in a source file. The code snippets automate various tasks. Should these tasks depend on external technology, such as a cloud service or library, the tool automatically links the technology to the code.
The tech giant trained the tool using billions of code lines from various sources, including internal and open-source projects. The service can generate more than ten lines of code at a time. CodeWhisperer is able to adapt generated code to the style of an existing project.