{"id":751,"date":"2023-08-22T08:52:00","date_gmt":"2023-08-22T08:52:00","guid":{"rendered":"https:\/\/fde.cat\/index.php\/2023\/08\/22\/how-is-einstein-gpt-shaping-the-future-of-salesforce-development-and-unleashing-developer-productivity\/"},"modified":"2023-08-22T08:52:00","modified_gmt":"2023-08-22T08:52:00","slug":"how-is-einstein-gpt-shaping-the-future-of-salesforce-development-and-unleashing-developer-productivity","status":"publish","type":"post","link":"https:\/\/fde.cat\/index.php\/2023\/08\/22\/how-is-einstein-gpt-shaping-the-future-of-salesforce-development-and-unleashing-developer-productivity\/","title":{"rendered":"How is Einstein GPT Shaping the Future of Salesforce Development and Unleashing Developer Productivity?"},"content":{"rendered":"<p><em>By Yingbo Zhou and Scott Nyberg<\/em><\/p>\n<p>In our \u201cEngineering Energizers\u201d Q&amp;A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. Meet Yingbo Zhou, a Senior Director of Research for <a href=\"https:\/\/www.salesforceairesearch.com\/\">Salesforce AI Research<\/a>, where he leads the team to develop the model for <a href=\"https:\/\/developer.salesforce.com\/blogs\/2023\/03\/einstein-gpt-for-salesforce-developers\">Einstein GPT for Developers<\/a> a set of next-gen AI tools for improve how developers write code, using Salesforce languages and frameworks such as <a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.apexcode.meta\/apexcode\/apex_intro_what_is_apex.htm\">Apex<\/a> and Lightning Web Components (LWC).<\/p>\n<p>Read on to learn how Yingbo\u2019s projects solve complex coding challenges \u2014 circumventing the intricacies surrounding Salesforce languages and frameworks that may challenge less experienced programmers.<\/p>\n<h4 class=\"wp-block-heading\"><strong>What are Salesforce languages used for and what challenges must engineers overcome to use them?<\/strong><\/h4>\n<p>Salesforce\u2019s programming language and frameworks such as Apex and LWC are designed for developing SaaS applications atop its customer relationship management (CRM) functionality.<\/p>\n<p>These languages deliver many benefits \u2014 including increased productivity and lightning-fast development \u2014 but writing Salesforce code demands specialized skills. Engineers without a programming background may find it challenging to learn the languages as they are as complicated as other languages like Java.<\/p>\n<p>For example, mastering Apex may require tasks ranging from studying introductory materials to taking tutorials to asking for help from the <a href=\"https:\/\/trailhead.salesforce.com\/?tb_cmp=growth_paid_search&amp;&amp;sfdc_modal=trailhead-welcome&amp;gclid=CjwKCAjwivemBhBhEiwAJxNWN_KIlZs2ST54Ps8axnvvRAx1SwGFYvIUUsFwaCXmZfYPvnF1wuLOxxoCKVcQAvD_BwE&amp;gclsrc=aw.ds\">Salesforce Trailhead c<\/a>ommunity. Thus, there may be a steep learning curve involved, even for the most experienced engineers.<\/p>\n<h4 class=\"wp-block-heading\">What is Einstein GPT for Developers and how does it help engineers overcome that learning curve?<\/h4>\n<p>Einstein GPT for Developers, powered by Salesforce\u2019s own large language model (LLM), empowers developers to build Salesforce apps faster and tackle new problems creatively by using predictive AI code, templates, test cases and more \u2014 taking developer productivity to the next level.<\/p>\n<p>By combining industry best practices with AI-suggested code, Einstein GPT for Developers enables engineers to quickly learn Salesforce languages and ship best-in-class Salesforce code that is optimized, standardized, and robust.<\/p>\n<p>And with conversational AI at their fingertips, developers can onboard to new projects instantly.<\/p>\n<p>Lastly, programmers can find answers without leaving their coding environment \u2014 whether that is Salesforce Code Builder or VS Code.<\/p>\n<p><em>Yingbo explains how Einstein GPT for Developers helps boost developer productivity.<\/em><\/p>\n<h4 class=\"wp-block-heading\">Diving deeper, how does Einstein GPT for Developers help engineers write code faster?<\/h4>\n<p>Einstein GPT simplifies the code writing process for any developer, from novice to pro-coder. Driving developer productivity and efficiency, the tool helps assemble structures and performs simple functions and maintenance.<\/p>\n<p>For example, using natural language, a novice developer can transform ideas written in plain English into highly contextual and structured Apex or LWC code.<\/p>\n<p>And if the code generated by Einstein needs to be refined or personalized further, the developer can ask Einstein to regenerate the output until the desired outcome is achieved. Developers can also start prototyping or jumpstart their projects faster by asking Einstein to generate entire functions, complex algorithms, and best-in-class boilerplate code that are contextual and rich with their CRM data.<\/p>\n<p><em>Example of natural language to code functionality, one of Einstein GPT for Developers\u2019 many features.<\/em><\/p>\n<p>Additionally, as Einstein generates code, developers can study its development process for their specific use cases. Consequently, this interactive learning experience enables engineers to enhance their skills and proficiency in Salesforce languages coding over time.<\/p>\n<p>Teaming the app with ApexGuru \u2013 a tool that helps customers identify inefficiencies in their projects after deployment \u2013 further improves code, enabling engineers to improve its speed and performance efficiency following deployment. ApexGuru performs automatic and first remediation via runtime hotspot analysis to detect performance bottlenecks \u2013 helping developers discover anti-patterns and pinpoint areas of their code that they may want to optimize.<\/p>\n<p><em>Yingbo further illustrates runtime hotspot analysis.<\/em><\/p>\n<h4 class=\"wp-block-heading\">What is the AI model that powers Einstein GPT for Developers?<\/h4>\n<p>Einstein GPT for Developers is powered by Salesforce\u2019s own conversational AI programming system introduced last year called <a href=\"https:\/\/www.salesforceairesearch.com\/projects\/CodeGen\">CodeGen<\/a>. CodeGen is the largest <a href=\"https:\/\/github.com\/salesforce\/CodeGen\">open source LLM<\/a> for code using in-house models and custom data tailored for CRM. Today, it supports over 6+ languages and averages over 300,000+ downloads a month. CodeGen 2.5 represents a major modeling advancement, outperforming earlier and larger CodeGen models \u2014 improving both speed and accuracy.<\/p>\n<p>Additionally, it delivers enhanced language coverage, trained on 84+ programming languages, and features a smaller, yet more efficient 7 billion model size compared to its predecessor\u2019s 16 billion size.<\/p>\n<h4 class=\"wp-block-heading\">What was your process for training CodeGen 2.5\u2019s model?<\/h4>\n<p>The first phase focused on unsupervised pre-training, whereby the model underwent training without specific tasks in mind. This stage introduced the model to tremendous volumes of data that\u2019s derived from permissively licensed open source projects, enabling it to learn the representation of different programs and decipher semantic nuances.<\/p>\n<p>The second phase focused on fine-tuning the model. Unlike traditional supervised training that concentrates on individual tasks, instruction fine-tuning uses textual instructions to enable a broader task generalization. This strategic approach enhanced the model\u2019s ability to perform diverse tasks. After this stage, the model could understand natural language requests and produce corresponding outputs in seconds.<\/p>\n<h4 class=\"wp-block-heading\">How will CodeGen 2.5 support developers in the future?<\/h4>\n<p>Beyond supporting Einstein GPT for Developers, the multidimensional model will enable a versatile chat interface that draws from help documents to answer user questions. So, instead of surfing the Internet for answers, users can ask a question in chat mode across multiple interactions:<\/p>\n<p>Text to code<\/p>\n<p>Text to text<\/p>\n<p>Code to text<\/p>\n<p>Code to code<\/p>\n<p>For example, engineers can copy and paste their code into the search bar and ask the model to scan their code for issues. Or they could ask it to summarize their code to help them compose documentation. It could even provide explanatory information to engineers, answering questions such as, \u201cExplain what Apex code is.\u201d The use cases are endless.<\/p>\n<p>CodeGen 2.5 is also set to offer an infill capability that will create new sections of code within an existing code. To achieve this, the model considers contextual cues from the surrounding code to seamlessly incorporate sections of new code, delivering a robust and efficient codebase.<\/p>\n<p><em>Yingbo provides additional details on infilling.<\/em><\/p>\n<h4 class=\"wp-block-heading\">Learn more<\/h4>\n<p>Hungry for more AI stories? <a href=\"https:\/\/engineering.salesforce.com\/how-is-salesforce-einstein-optimizing-ai-classification-model-accuracy\/\">Read this blog<\/a> to learn how Salesforce engineers improve AI classification model accuracy.<\/p>\n<p>Stay connected \u2014 join our <a href=\"https:\/\/careers.mail.salesforce.com\/w2?cid=7017y00000CRDS7AAP\">Talent Community<\/a>!<\/p>\n<p><a href=\"https:\/\/www.salesforce.com\/company\/careers\/teams\/tech-and-product\/?d=cta-tms-tp-2\">Check out our Technology and Product teams<\/a> to learn how you can get involved.<\/p>\n<p>The post <a href=\"https:\/\/engineering.salesforce.com\/how-is-einstein-gpt-shaping-the-future-of-salesforce-development-and-unleashing-developer-productivity\/\">How is Einstein GPT Shaping the Future of Salesforce Development and Unleashing Developer Productivity?<\/a> appeared first on <a href=\"https:\/\/engineering.salesforce.com\/\">Salesforce Engineering Blog<\/a>.<\/p>\n<p><a href=\"https:\/\/engineering.salesforce.com\/how-is-einstein-gpt-shaping-the-future-of-salesforce-development-and-unleashing-developer-productivity\/\" target=\"_blank\" class=\"feedzy-rss-link-icon\" rel=\"noopener\">Read More<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>By Yingbo Zhou and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&amp;A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. Meet Yingbo Zhou, a Senior Director of Research for Salesforce AI Research, where he leads the team to develop the model for Einstein GPT for Developers a set of next-gen AI&hellip; <a class=\"more-link\" href=\"https:\/\/fde.cat\/index.php\/2023\/08\/22\/how-is-einstein-gpt-shaping-the-future-of-salesforce-development-and-unleashing-developer-productivity\/\">Continue reading <span class=\"screen-reader-text\">How is Einstein GPT Shaping the Future of Salesforce Development and Unleashing Developer Productivity?<\/span><\/a><\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-751","post","type-post","status-publish","format-standard","hentry","category-technology","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":791,"url":"https:\/\/fde.cat\/index.php\/2023\/08\/22\/how-is-einstein-shaping-the-future-of-salesforce-development-and-unleashing-developer-productivity\/","url_meta":{"origin":751,"position":0},"title":"How is Einstein Shaping the Future of Salesforce Development and Unleashing Developer Productivity?","date":"August 22, 2023","format":false,"excerpt":"By Yingbo Zhou and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. Meet Yingbo Zhou, a Senior Director of Research for Salesforce AI Research, where he leads the team to develop the model for Einstein for Developers, a\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":813,"url":"https:\/\/fde.cat\/index.php\/2024\/01\/16\/inside-ai-research-conquering-complex-challenges-to-power-next-generation-innovations\/","url_meta":{"origin":751,"position":1},"title":"Inside AI Research: Conquering Complex Challenges to Power Next Generation Innovations","date":"January 16, 2024","format":false,"excerpt":"By Yingbo Zhou and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. Meet Yingbo Zhou, a Senior Director of Research for Salesforce AI Research, where he leads his team to advance AI \u2014 focusing on the fields of\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":461,"url":"https:\/\/fde.cat\/index.php\/2021\/09\/08\/building-a-language-agnostic-neural-machine-translation-system\/","url_meta":{"origin":751,"position":2},"title":"Building a Language-Agnostic Neural Machine Translation System","date":"September 8, 2021","format":false,"excerpt":"Why Machine Translation At Salesforce, our goal in introducing machine translation was to increase scalability and better serve our international customers. Advantages include: Innovating and acquiring know-how internallyReducing translation time by enhancing translators\u2019 productivityIncreasing content freshness by publishing more frequent\u00a0updatesReinvesting savings into high-value content and\u00a0products When we explored commercially available\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":785,"url":"https:\/\/fde.cat\/index.php\/2023\/11\/07\/einstein-for-flow-bringing-ai-innovation-to-the-next-generation-of-automation\/","url_meta":{"origin":751,"position":3},"title":"Einstein for Flow: Bringing AI Innovation to the Next Generation of Automation","date":"November 7, 2023","format":false,"excerpt":"By Vera Vetter, Zeyuan Chen, Ran Xu, and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional journeys that have shaped Salesforce Engineering leaders. Meet Vera Vetter, Product Management Director for Salesforce AI Research and a co-Product Manager for Einstein for Flow, a game-changing AI product that\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":283,"url":"https:\/\/fde.cat\/index.php\/2021\/08\/31\/ai-research-to-production-with-einstein-reply-recommendations\/","url_meta":{"origin":751,"position":4},"title":"AI Research to Production with Einstein Reply Recommendations","date":"August 31, 2021","format":false,"excerpt":"We all know that AI is here and it\u2019s quickly changing our lives. However, the impacts of AI are unevenly distributed and it favors those with \u201cmore data,\u201d leaving those with \u201cfew data\u201d behind. This runs counter to our Salesforce core values of Customer Success and Equality, so we set\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":856,"url":"https:\/\/fde.cat\/index.php\/2024\/04\/18\/in-their-own-words-15-salesforce-engineering-innovators-discuss-the-art-of-problem-solving\/","url_meta":{"origin":751,"position":5},"title":"In Their Own Words: 15 Salesforce Engineering Innovators Discuss the Art of Problem Solving","date":"April 18, 2024","format":false,"excerpt":"In our \u201cEngineering Energizers\u201d series, we explore the problem-solving skills of engineering leaders. In this special edition, we caught up with some of the brightest minds from Salesforce Engineering across India, Argentina, and the U.S, and met a few new innovators who the Engineering Blog will feature soon. Join us\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/comments?post=751"}],"version-history":[{"count":0,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/751\/revisions"}],"wp:attachment":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/media?parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/categories?post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/tags?post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}