Amazon CodeWhisperer is an AI coding companion that helps enhance developer productiveness by producing code suggestions primarily based on their feedback in pure language and code within the built-in growth atmosphere (IDE). CodeWhisperer accelerates completion of coding duties by decreasing context-switches between the IDE and documentation or developer boards. With real-time code suggestions from CodeWhisperer, you’ll be able to keep targeted within the IDE and end your coding duties quicker.
On this put up, we illustrate how Accenture makes use of CodeWhisperer in apply to enhance developer productiveness.
“Accenture is utilizing Amazon CodeWhisperer to speed up coding as a part of our software program engineering finest practices initiative in our Velocity platform,” says Balakrishnan Viswanathan, Senior Supervisor, Tech Structure at Accenture. “The Velocity crew was in search of methods to enhance developer productiveness. After trying to find a number of choices, we got here throughout Amazon CodeWhisperer to scale back our growth efforts by 30% and we at the moment are focusing extra on bettering safety, high quality, and efficiency.”
Advantages of CodeWhisperer
The Accenture Velocity crew has been utilizing CodeWhisperer to speed up their synthetic intelligence (AI) and machine studying (ML) tasks. The next abstract highlights the advantages:
- The crew is spending much less time creating boilerplate and repetitive code patterns, and extra time on what issues: constructing nice software program
- CodeWhisperer empowers builders to responsibly use AI to create syntactically right and safe functions
- The crew can generate total features and logical code blocks with out having to seek for and customise code snippets from the online
- They’ll speed up onboarding for novice builders or builders working with an unfamiliar codebase
- They’ll detect safety threats early within the growth course of by shifting the safety scanning left to the developer’s IDE
Within the following sections, we focus on among the ways in which the Accenture Velocity crew has been utilizing CodeWhisperer in additional element.
Onboarding builders on new tasks
CodeWhisperer helps builders unfamiliar with AWS to ramp up quicker on tasks that use AWS companies. New builders in Accenture have been in a position to write code for AWS companies resembling Amazon Simple Storage Service (Amazon S3) and Amazon DynamoDB. In a brief period of time, they have been in a position to be productive and contribute to the undertaking. CodeWhisperer assisted builders by offering code blocks or line-by-line solutions. It is usually context-aware. Altering the directions (feedback) to be extra particular leads to CodeWhisperer producing extra related code.
Writing boilerplate code
Builders have been in a position to make use of CodeWhisperer to finish stipulations. They have been in a position to create a preprocessing knowledge class simply by typing “class to create preprocessing script for ML knowledge.” Writing the preprocessing script took solely a few minutes, and CodeWhisperer was in a position to generate total code blocks.
Serving to builders code in unfamiliar languages
A Java consumer new to the crew was in a position to simply begin writing Python code with the assistance of CodeWhisperer with out worrying in regards to the syntax.
Detecting safety vulnerabilities within the code
Builders have been in a position to detect safety points by selecting Run safety scan of their IDE. Detailed insights on the safety points discovered are supplied instantly within the IDE. This helps builders detect and repair points early.
“As a developer, utilizing CodeWhisperer lets you write code extra shortly,” says Nino Leenus, AI Engineering Advisor at Accenture. “As well as, CodeWhisperer will allow you to code extra precisely by eliminating typos and different typical errors with the help of synthetic intelligence. For a developer, writing the identical code a number of occasions is tedious. By recommending the following code items that you could be want, AI code completion applied sciences scale back such repetitious coding.”
This put up introduces CodeWhisperer, an AI coding companion by Amazon. The instrument makes use of ML fashions skilled on giant datasets to supply solutions and autocompletion for code, in addition to generate total features and lessons primarily based on pure language descriptions. This put up additionally highlights among the advantages seen by Accenture when utilizing CodeWhisperer, resembling elevated productiveness and the flexibility to scale back the effort and time required for widespread coding duties. You’ll be able to activate CodeWhisperer in your favourite IDE right this moment. CodeWhisperer robotically generates solutions primarily based in your present code and feedback. Go to Amazon CodeWhisperer to get began.
Concerning the Authors
Balakrishnan Viswanathan is an AI/ML Resolution Architect at Accenture. Collaborating with AABG, he devises and executes cutting-edge cloud-based methods to sort out numerous AI/ML associated challenges. Bala’s pursuits lie in each cooking and Photoshop, which he’s obsessed with.
Shikhar Kwatra is an AI/ML specialist options architect at Amazon Net Providers, working with a number one International System Integrator. He has earned the title of one of many Youngest Indian Grasp Inventors with over 500 patents within the AI/ML and IoT domains. Shikhar aids in architecting, constructing, and sustaining cost-efficient, scalable cloud environments for the group, and helps the GSI associate in constructing strategic trade options on AWS. Shikhar enjoys taking part in guitar, composing music, and working towards mindfulness in his spare time.
Ankur Desai is a Principal Product Supervisor inside the AWS AI Providers crew.
Nino Leenus is an AI Advisor at Accenture. She is experience on growing Finish-to-Finish Machine studying options and its deployment utilizing cloud. She is interested by newest instruments and applied sciences in ML-Ops area. She loves touring and trekking.