{"id":5890,"date":"2024-03-20T10:18:45","date_gmt":"2024-03-20T02:18:45","guid":{"rendered":"https:\/\/www.1ai.net\/?p=5890"},"modified":"2024-03-20T10:18:45","modified_gmt":"2024-03-20T02:18:45","slug":"amazon-aws-codewhisperer%ef%bc%9a%e5%9f%ba%e4%ba%8e%e6%9c%ba%e5%99%a8%e5%ad%a6%e4%b9%a0%e7%9a%84ai%e7%bc%96%e7%a0%81%e5%8a%a9%e6%89%8b","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/5890.html","title":{"rendered":"Amazon AWS CodeWhisperer: AI coding assistant based on machine learning"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5891\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/03\/qseql3plxy23a_725b2e94d5a845f99a5810c8605eeb09.png\" alt=\"\" width=\"800\" height=\"479\" \/><\/p>\n<p>Amazon AWS <a href=\"https:\/\/www.1ai.net\/en\/tag\/codewhisperer\" title=\"[See article with [CodeWhisperer] label]\" target=\"_blank\" >CodeWhisperer<\/a> It is a machine learning-based<a href=\"https:\/\/www.1ai.net\/en\/tag\/ai%e7%bc%96%e7%a0%81%e5%8a%a9%e6%89%8b\" title=\"[SEES ARTICLES WITH [AI CODE ASSISTANT] LABELS]\" target=\"_blank\" >AI Coding Assistant<\/a>It can provide automated code suggestions based on the developer&#039;s code and comments in the integrated development environment (IDE), helping developers write applications faster and more safely.<\/p>\n<p>CodeWhisperer can generate complete functions and logical code blocks, eliminating the need to search and customize code snippets from the Internet.<\/p>\n<p>CodeWhisperer can also generate unit test code based on natural language (English) comments, reducing the time and effort of writing repetitive code.<\/p>\n<p>CodeWhisperer supports multiple programming languages, including Python, Java, JavaScript, TypeScript, C#, Go, Rust, PHP, Ruby, Kotlin, C, C++, Shell scripting, SQL and Scala.<\/p>\n<p>CodeWhisperer can also integrate with multiple IDEs, including JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm and Rider), Visual Studio (VS) Code, AWS Cloud9 and AWS Lambda console.<\/p>\n<p><strong>Features<\/strong><\/p>\n<p>Real-time customized code suggestions<\/p>\n<p>CodeWhisperer is trained on billions of lines of code from Amazon and publicly available sources. It can understand comments in natural language (English) and generate multiple code suggestions in real time based on the comments, improving developer productivity. The service generates code suggestions similar to the code written by the developer based on the developer&#039;s style and naming habits. Developers can quickly accept the best suggestion (tab key), view more suggestions (arrow keys), or continue writing their own code. As you type, CodeWhisperer even provides suggestions to complete the comment itself.<\/p>\n<p>Optimization for AWS services<\/p>\n<p>CodeWhisperer allows developers to use AWS services more efficiently, providing code suggestions for AWS APIs, including the most popular services such as Amazon EC2, AWS Lambda and Amazon S3. When developers write code in the IDE, CodeWhisperer automatically analyzes the code and comments, and makes suggestions based on the required functions using related cloud services and public software libraries, and recommends code snippets that comply with AWS best practices.<\/p>\n<p>Built-in security scanning<\/p>\n<p>CodeWhisperer can scan Java, JavaScript and Python projects to detect hard-to-find vulnerabilities, such as those in the top 10 Open Web Application Security Project (OWASP) or those that do not comply with security best practices such as cryptographic library best practices. The service analyzes existing code in the IDE (whether generated by CodeWhisperer or written by the developer), accurately identifies problematic code, and provides intelligent remediation suggestions.<\/p>\n<p>Responsible use of open source code: Reference tracker<\/p>\n<p>CodeWhisperer provides a built-in reference tracker that detects if there are code suggestions that may be similar to open source training data and marks these suggestions. These suggestions are accompanied by the repository URL, file references, and license information of the open source project so that developers can review them before deciding whether to use them. All marked suggestions are recorded so that developers can review them when appropriate and add license attribution at their discretion.<\/p>\n<p><strong>Product Price<\/strong><\/p>\n<p>Amazon AWS CodeWhisperer is currently in a free preview phase, and developers can apply for a preview access code and then enable the service in their IDE. After the preview phase ends, CodeWhisperer will adopt a pay-as-you-go pricing model, and the specific price has not yet been announced.<\/p>\n<p>Official website link:\u00a0<a href=\"https:\/\/www.pipio.ai\/video-dubbing\">https:\/\/www.pipio.ai\/video-dubbing<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Amazon AWS CodeWhisperer is a machine-learning based AI coding assistant that helps developers write applications faster and more securely by providing automated code suggestions based on their code and comments in an integrated development environment (IDE). CodeWhisperer generates complete blocks of function and logic code, eliminating the need to search and customize code snippets from the web. CodeWhisperer can also generate unit test code based on natural language (English) comments, reducing the time and effort of writing repetitive code. CodeWhisperer supports multiple programming languages including Python, Java, JavaScript, TypeSc<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[138,139],"tags":[598,1780],"collection":[],"class_list":["post-5890","post","type-post","status-publish","format-standard","hentry","category-product","category-daima","tag-ai","tag-codewhisperer"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/5890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=5890"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/5890\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=5890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=5890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=5890"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=5890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}