<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Slalom Boston Technology Enablement on Medium]]></title>
        <description><![CDATA[Stories by Slalom Boston Technology Enablement on Medium]]></description>
        <link>https://medium.com/@bostontechnologyenablement?source=rss-941652edc084------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ghgfCTrGc39eqH-wI7-lkQ.jpeg</url>
            <title>Stories by Slalom Boston Technology Enablement on Medium</title>
            <link>https://medium.com/@bostontechnologyenablement?source=rss-941652edc084------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:57:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bostontechnologyenablement/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[GitHub Copilot and Coding Assistants: The Future of Development]]></title>
            <link>https://medium.com/@bostontechnologyenablement/github-copilot-and-coding-assistants-the-future-of-development-1a49ba7c94a1?source=rss-941652edc084------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a49ba7c94a1</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[sofware-development]]></category>
            <dc:creator><![CDATA[Slalom Boston Technology Enablement]]></dc:creator>
            <pubDate>Mon, 05 Feb 2024 16:07:40 GMT</pubDate>
            <atom:updated>2024-02-06T21:18:53.319Z</atom:updated>
            <content:encoded><![CDATA[<h4>Learn about seamless integration, navigate suggestions like a pro, and personalize your coding companion</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*8mpDocCKjCHqBTvDo6byrw.png" /><figcaption>Photo by <a href="https://www.pexels.com/photo/woman-using-macbook-1181288/">Christina Morillo</a> from Pexels</figcaption></figure><p><em>By </em><a href="https://www.linkedin.com/in/ananya-rajagopal-630303a1/"><em>Ananya Rajagopal</em></a>,<em> </em><a href="https://www.linkedin.com/in/archisa-sood/"><em>Archisa Sood</em></a><em>, </em><a href="https://www.linkedin.com/in/jonah-abraham/"><em>Jonah Abraham</em></a><em>, </em><a href="https://www.linkedin.com/in/karthik-sridhar-bos/"><em>Karthik Sridhar</em></a><em>, </em><a href="https://www.linkedin.com/in/trupti-sanikop-b4a71247/"><em>Trupti Sanikop</em></a><em>, and </em><a href="https://www.linkedin.com/in/maarajjal/"><em>Mohammad Ali Al-Rajjal</em></a></p><p>Ever find yourself bogged down by looking up mundane coding queries during development? (“How do I loop through this list in [language] again?” checks StackOverflow). These frequent context switches can significantly erode your time for tackling more intricate challenges.</p><p>Enter <a href="https://github.com/features/copilot?ef_id=_k_c0433fb68e9d1a25452d5a0b9b8839e1_k_&amp;OCID=AIDcmmc3fhtaow_SEM__k_c0433fb68e9d1a25452d5a0b9b8839e1_k_&amp;msclkid=c0433fb68e9d1a25452d5a0b9b8839e1">Microsoft’s GitHub Copilot</a>, which aims to revolutionize development workflows by significantly reducing these time-consuming interruptions.</p><p>Copilot embodies an AI-powered coding assistant, leveraging the same Large Language Model (LLM) technology behind ChatGPT. Trained on vast public datasets like GitHub, it possesses a unique grasp of software development nuances. Seamlessly integrating into popular integrated development environments (IDEs) like Visual Studio and JetBrains, Copilot offers a natural language chat interface for dispensing real-time coding advice. Currently available for individual and enterprise purchase, Copilot unlocks a new era of developer productivity.</p><p>In this blog post, we’ll equip you with the knowledge and resources to seamlessly incorporate Copilot into your development workflow and experience firsthand how it can optimize your coding journey.</p><h3><strong>Getting started with GitHub Copilot</strong></h3><h4><strong>Prerequisites:</strong></h4><p>Before installing GitHub Copilot ensure you have a GitHub account and that you have signed up for GitHub Copilot through the GitHub website <a href="https://github.com/features/copilot/">https://github.com/features/copilot/</a> and ensure select the appropriate Business or Personal plan.</p><h4><strong>Configuring your IDE:</strong></h4><p>GitHub Copilot is configured to work with an IDE. It is installed as an extension to the IDE. It is currently available for in available as in Visual Studio Code, Vim, Neovim, JetBrains IDES (like IntelliJ), and Azure Data Studio.</p><p>For the purposes of this example, we will use Visual Studio Code (VSCode) as the IDE. To install GitHub Copilot as an extension on VSCode, navigate to the extensions tab and search for the Github Copilot extension, and click on the “Install” button as shown in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3glAj055LHPISzGulsODoQ.png" /><figcaption>GitHub Copilot Extension in VSCode</figcaption></figure><p>Upon installing GitHub Copilot, you will be prompted to sign-in to GitHub using the account you have configured in the first section. Follow the prompts to sign in with your GitHub account.</p><p>GitHub copilot also offers an extension called GitHub Copilot Chat, that offers a chat-based interface for developers to interact with GitHub Copilot using natural language prompts. It allows developers to ask questions and look for code suggestions and explanations in the form of a more dynamic conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FsioT4dl9ykJ79GQmoapPw.png" /><figcaption>GithHub Copilot Chat Extension in VSCode</figcaption></figure><p>In addition to both GitHub Copilot and GitHub Copilot Chat, there is another extension called GitHub Copilot Labs that offers developers early access to features that developers can experiment with and provide feedback to help shape the development of these features. One of the features currently available in GitHub Copilot labs is Code Explanation, which allows developers to highlight a block of code and ask GitHub Copilot to explain it in plain words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NMuRV3DTUuKsCWLY8j51XA.png" /><figcaption>GitHub Copilot Labs Extension in VSCode</figcaption></figure><p>Once the GitHub Copilot is installed and connected to your GitHub account, you can configure GitHub Copilot settings and customize its behavior to your own preferences. These settings can be accessed by clicking on the gear icon in the GitHub Copilot tab. You can configure settings like Line Start Suggestions which controls when GitHub Copilot provides suggestions whether as soon as you start typing a few characters or when starting a new line. You can configure your Code style and tailor things like indentation and formatting to your preferences as shown in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CbDDmKIjRr5flss725No7g.png" /><figcaption>Settings Preview for GitHub Copilot Extensions in VSCode</figcaption></figure><h3><strong>Collaboration, not replacement</strong></h3><p>Microsoft’s GitHub Copilot is not a silver bullet for software development — its documentation rightly clarifies that it isn’t a human replacement. Developers entering vague application descriptions and expecting magical code generation will likely be met with disappointment.</p><p>Copilot shines as an augmented coding assistant, leveraging your existing code as a springboard for improvement. Consequently, code clarity becomes paramount. Precise variable and function definitions, coupled with insightful comments, provide Copilot with the context necessary to generate relevant outputs that seamlessly integrate into your code. Avoid generalities in your requests; concrete, well-defined prompts yield more reliable results.</p><p>For instance, when developing a function to retrieve a movie list from a database, having related functions readily accessible within your editor grants Copilot valuable context for constructing the return function. Similarly, clear comments like “This function retrieves Employee IDs from the database” guide Copilot in the right direction. Consistent, intuitive variable names (e.g., “EmployeeID”) across your codebase further enhance output accuracy.</p><p>Furthermore, Copilot’s training on public datasets influences its performance across languages. Commonly used languages like Python offer more reliable integration than less ubiquitous ones like Forth. The same principle applies to the base language of your queries; English, being the dominant language in its training data, generally yields better results than others.</p><p>Copilot Labs and Chat are two extensions for GitHub Copilot that provide additional features and functionality. Although Copilot extension in itself provides capabilities, we will explore some additional use cases with these two extensions. Let’s look at different examples in which GitHub Copilot can be used.</p><h4><strong>1. Workspace setup with chat view</strong></h4><p>GitHub Copilot can significantly reduce effort and time spent creating workspace.</p><p>In this example, we are creating a directory structure for an employee application. The command “/createWorkspace Employee java application directory” suggests a directory structure and a button to create workspace if you accept.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*p8f5vbql0snrsZKT_vz3fQ.gif" /><figcaption>VSCode Workspace with GitHub Copilot Chat suggesting Create Workspace</figcaption></figure><h4><strong>2. Code generation with natural language commands</strong></h4><p>Copilot can understand and interpret natural language commands, allowing users to interact in a conversational way.</p><p>In this example we are instructing Copilot to create a model for Employee. Copilot suggests a few options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*rDMVMRqJ0y5O0qbcdny5RA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*UyCcbORSbH5SIqKEUFnTIA.gif" /><figcaption>Natural Language Command code generation with GitHub Copilot</figcaption></figure><h4><strong>3. Code generation with shortcuts</strong></h4><p>To see all suggestions of Copilot at once, we can use shortcuts. In this example we are creating an interface for the Employee application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*tAezu7-6xnkIMPz0uejtKw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*g4g-lR3t3aEfABl1iilr9Q.gif" /><figcaption>GitHub Copilot suggestions with shortcuts</figcaption></figure><h4><strong>4. Boiler plate code with chat view</strong></h4><p>Copilot can generate boilerplate code for a variety of tasks, including:</p><ul><li>Connecting to databases</li><li>Logging messages</li><li>Handling errors</li><li>Writing tests</li><li>Creating classes and functions</li></ul><p>In this example, we’re asking Copilot to generate boiler plate code to connect to MySQL using JDBC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*1XbhrDyuFzE1AX1zWYsDZA.gif" /><figcaption>Boiler plate code generation with GitHub Copilot Chat</figcaption></figure><h4><strong>5. Generating doc with inline chat</strong></h4><p>Inline chat with Copilot can be a great way to improve the quality of your Javadoc and to generate Javadoc more efficiently. In this example we are generating doc for the getEmployee function with inline chat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*x6u-3DgrtzC5afMibrp4yQ.gif" /><figcaption>JavaDoc generation With GitHub Copilot Inline Chat</figcaption></figure><h4><strong>6. Troubleshooting with slash commands</strong></h4><p>In this example using the inline chat capability of Copilot we are asking to explain how the code works. Notice that it points out the code is buggy and suggests a solution.</p><p>Using /fix in inline chat is a way to compare existing and suggested solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*m7hB1XFCOU-FOQ_7H770PA.gif" /><figcaption>Troubleshooting with GitHub Copilot Slash</figcaption></figure><h4><strong><em>7. Code coverage with Labs*</em></strong></h4><p>Copilot Labs can generate test cases in a fraction of the time it would take to write them manually. Currently this feature is only supported for JavaScript and Typescript.</p><p>In this example we are generating a test for getAllEmployees() function written in JavaScript.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*eyeIRoog6KZyuaUMk3ek8w.gif" /><figcaption>Test case generation and code coverage with GitHub Copilot Labs</figcaption></figure><h4><strong><em>8. Language conversion with Labs*</em></strong></h4><p>Many a times developers must look at legacy code written in language less familiar to them and it takes time to analyze. Copilot can easily translate code to a language that the developer is adept in. In this example, we are converting getEmployee function written in Java to Python.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*C0wdR2YNEhnIMwp5F7Z6cw.gif" /><figcaption>Code Conversion with GitHub Copilot Labs</figcaption></figure><h3><strong>Navigating the nuances of GitHub Copilot</strong></h3><p>While GitHub Copilot promises significant potential for streamlined coding, its effective utilization requires thoughtful consideration and adherence to specific best practices. Firstly, it’s crucial to remember that Copilot operates within the confines of your project’s context. Its suggestions, grounded in the open files within your IDE, lack an innate understanding of broader business goals or user narratives. Thus, a diligent code review process, akin to verifying snippets from StackOverflow, is essential before integrating any generated code. Thoroughly examine the functionality of the proposed code to ensure seamless integration and avoid unexpected consequences.</p><p>Furthermore, it’s important to acknowledge the limitations of Copilot’s knowledge base. Particularly, its understanding of Playwright currently rests on data from 2021 and may not encompass the library’s recent advancements. To safeguard code quality and security, consider embracing robust SDLC practices such as peer reviews and automated security scans. Additionally, remember to disable Copilot in projects where its usage is restricted by specific policies or requirements.</p><p>Optimizing Copilot’s effectiveness further hinges on crafting clear and concise requests. GitHub’s guidelines encourage experimentation with varied prompts, allowing users to refine Copilot’s responses to match their specific coding needs. Maintaining relevant tabs open, offering additional context from neighboring files, and adhering to established coding practices further improve the generated code’s alignment with project standards. Ultimately, GitHub’s emphasis on well-defined prompts and contextual awareness empowers Copilot to deliver increasingly relevant and impactful suggestions.</p><p>Despite the undeniable appeal of AI-generated code, a rigorous review process remains paramount. Akin to reviewing a colleague’s work, developers should meticulously analyze the generated output, ensuring its accuracy and adherence to project requirements. By consistently applying these practices and leveraging GitHub’s prompt-writing resources, developers can unlock the full potential of Copilot, transforming it into a valuable and efficient asset within their coding arsenal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U9yhgz8kTCxf-vlTgwQOfw.png" /><figcaption>GitHub Copilot Context</figcaption></figure><p>This class implements business logic. It contains various methods that performs operations related to employees. It’s using the model Employee import and implementing the EmployeeService interface. Based on this context and the relevant tabs open, just the comment “implement createEmployee” it suggests a solution.</p><h3><strong>Other code assistants</strong></h3><p>Google’s own collaboration with OpenAI has resulted in Duet AI, currently in preview. Available in Google Cloud and in IDEs via the Cloud Code extensions, it can perform code refactoring, recommendations, code completion or code generation. Duet AI also provides a variety of productivity enhancing features across all of Google’s Workspace apps, allowing you to summarize documents, create spreadsheets and presentations. It’s worth noting that the productivity feature is analogous to Microsoft Copilot, which works alongside Microsoft 365 Apps.</p><p>Amazon has come out with its own coding companion, Amazon CodeWhisperer. It supports code generation for a variety of languages like C#, Java, Python and Rust, though it is optimized for most AWS APIs, AWS Lambda or AWS S3. It additionally scans both generated and written code vulnerabilities and security risks and provides suggestions on fixes.</p><p>In addition to these general-purpose assistants, there are a large number of tools created to perform specific tasks. The Docker GenAI Stack provides best practices and recommendations to developers while modifying a DockerFile or Docker Compose file, debugging and testing container-based applications. Codium AI analyzes code, docstring and comments to suggest tests as you code. Cogram helps data scientists to generate complex SQL queries based on queries in the English language. The landscape of tools is growing rapidly.</p><h3><strong>The future of development</strong></h3><p>The future of GitHub Copilot paints a vivid picture of enhanced accuracy, context-awareness, and developer customization. Advanced machine learning will refine code suggestions, streamlining development processes, minimizing errors, and liberating developers from routine tasks. At the core of this vision lies a highly customizable tool tailored to individual workflows and preferences. This adaptability promises to unlock a more efficient and personalized coding experience, empowering developers to focus on complex challenges.</p><p>The forthcoming Copilot Workspace exemplifies this commitment to enhanced functionality. Scheduled for release in 2024, it will transcend code generation, assisting with full development tasks. Imagine: inputting an issue from a project management tool like JIRA, and Copilot Workspace extracts the code’s current behavior, proposes solutions, and even handles scaffolding tasks like setting up testing frameworks. Its comprehensive understanding of code, including comments and linked information, elevates its capabilities beyond mere suggestion.</p><p>With the anticipated arrival of GitHub Copilot X, the coding landscape is poised for further transformation. Leveraging cutting-edge machine learning, Copilot X vows to revolutionize code accuracy and context-awareness. This evolution not only aims to accelerate development but also personalize the experience. Its ability to not only grasp developer intent but also adapt to diverse coding styles and languages fosters a truly versatile tool, pushing the boundaries of human-AI collaboration. Through Copilot X, GitHub reaffirms its dedication to advancing AI in coding, paving the way for a future where developers and AI seamlessly collaborate to unlock the full potential of software development.</p><p><em>*Note that Labs was sunset in December 2023.</em></p><p><em>Slalom is a next-generation professional services company creating value at the intersection of business, technology, and humanity. </em><a href="https://www.slalom.com/what-we-do"><em>Learn more and reach out today</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a49ba7c94a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Wonders: A Closer Look at the Inner Workings of Generative AI]]></title>
            <link>https://medium.com/@bostontechnologyenablement/creating-wonders-a-closer-look-at-the-inner-workings-of-generative-ai-3103518e5fe8?source=rss-941652edc084------2</link>
            <guid isPermaLink="false">https://medium.com/p/3103518e5fe8</guid>
            <category><![CDATA[foundation-models]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Slalom Boston Technology Enablement]]></dc:creator>
            <pubDate>Tue, 05 Sep 2023 20:31:29 GMT</pubDate>
            <atom:updated>2023-09-19T14:06:06.870Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*PuNsDabg-skuGD6T6Fnt3A.png" /></figure><p><em>By </em><a href="https://www.linkedin.com/in/trupti-sanikop-b4a71247/"><em>Trupti Sanikop</em></a><em>, </em><a href="https://www.linkedin.com/in/jonah-abraham/"><em>Jonah Abraham</em></a><em>, </em><a href="https://www.linkedin.com/in/karthik-sridhar-bos/"><em>Karthik Sridhar</em></a><em>, </em><a href="https://www.linkedin.com/in/brandon-mino/"><em>Brandon Mino</em></a><em>, </em><a href="https://www.linkedin.com/in/archisa-sood/"><em>Archisa Sood</em></a><em>, and </em><a href="https://www.linkedin.com/in/tanya-gupta03/"><em>Tanya Gupta</em></a></p><p>Generative artificial intelligence (generative AI, or GenAI) is the hottest topic in industry today. This technology is a powerful tool revolutionizing workflows and opening new possibilities for efficient problem-solving, personalized experiences, and enhanced productivity. Unlike past AI models, generative AI can create novel, human-readable content at scale. With generative AI, businesses and individuals can generate text, audio, video, and other forms of media with machines.</p><p>According to Bloomberg, <a href="https://www.bloomberg.com/company/press/generative-ai-to-become-a-1-3-trillion-market-by-2032-research-finds/">generative AI is expected to be a $1.3 trillion market by 2032</a>. While the roots of the technology can be traced back to the 1950s, the current boom resulted from advances in machine learning and neural network construction. Additionally, the rise of cheap, accessible cloud computing, combined with foundation models that anyone can fine-tune, has democratized the technology, allowing the public to experience generative AI themselves.</p><h3><strong>History of generative AI</strong></h3><p>As computer science rapidly advanced during the Second World War, scientists began to wonder if machines could process and output data in the same way as the human brain. British mathematician Alan Turing was particularly interested in this concept, creating the “Turing test” in 1950. Still familiar to many today, the Turing test posited that “artificial intelligence” could be tested by whether a human could distinguish between computer and human-generated conversations. Turing’s paper <a href="https://redirect.cs.umbc.edu/courses/471/papers/turing.pdf">“Computing Machines and Intelligence”</a> is still cited today as one of the foundational works of AI. As computing power improved dramatically through the 1950s and 1960s, a hype cycle began as scientists and futurists envisioned true artificial intelligence within the next few decades.</p><p>By the 1970s, however, the hype cycle dissolved into an “AI winter.” The fading interest in AI is best represented by the <a href="http://www.chilton-computing.org.uk/inf/literature/reports/lighthill_report/p001.htm">Lighthill report</a>, which expressed a profound disappointment in AI advances to the British Science Research Council.</p><blockquote>“Workers entered the field around 1950, and even around 1960, with high hopes that are very far from having been realised in 1972. In no part of the field have the discoveries made so far produced the major impact that was then promised.”</blockquote><p>This cycle of hype and bust, like many burgeoning technologies, repeated several times over the next decades. However, by the 1990s, as multilayer neural networks became increasingly accessible to researchers, interest surged once again. Of particular interest is the 2017 paper “<a href="https://papers.nips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf">Attention Is All You Need</a>” by the Google Brain team, which proposed adding attention mechanisms to neural networks. This allowed AI models to be trained significantly faster, and with far more data. The resulting models that were trained with this “semi-supervised” framework, such as GPT-3, became public in the early 2020s, and now are contributing to the current AI surge. Let’s look at how these models are trained.</p><h3><strong>Revealing the magic behind GenAI: Semi-supervised learning, neural networks, and transformers</strong></h3><p>Semi-supervised learning in generative AI combines unsupervised and supervised approaches to train models (see Figure 1). At its core, generative AI relies on neural networks, which are computational models inspired by the human brain. Initially, models undergo unsupervised learning, analyzing vast amounts of unlabeled data to discover patterns and gain insights. This unsupervised pretraining forms a strong language foundation, leveraging neural networks to process and understand language structures. Then the models are fine-tuned using supervised learning on labeled data, where neural networks are adjusted based on known input-output pairs, making them more accurate and applicable to specific tasks.</p><figure><img alt="Image depicting supervised and unsupervised learning" src="https://cdn-images-1.medium.com/max/720/1*3P0YmRbow0b7LTLTdBofBw.jpeg" /><figcaption><em>Figure 1: Example of supervised and unsupervised learning</em></figcaption></figure><p>In recent years, the transformer architecture has revolutionized generative AI by enhancing the ability to capture long-range dependencies in language. While unsupervised learning dominates the training process, the fusion of both methods, powered by neural networks and transformers, empowers the latest generative AI models with context-awareness, creativity, and a broader range of capabilities.</p><figure><img alt="Image depicting a neural network" src="https://cdn-images-1.medium.com/max/1024/1*ngNs_84XRMvtcBIWlNic9Q.png" /><figcaption><em>Figure 2: Example of learning using neural networks</em></figcaption></figure><p>Having taken a “peek behind the curtain” of generative AI, let us now delve into foundation models and how they allow even nontechnical users to build AI tools and platforms.</p><h3><strong>Foundation models</strong></h3><p>Foundation models (FMs) are large AI models that have been trained on massive amounts of data to perform multiple downstream tasks. Instead of being trained to solve a specific task, FMs are trained to understand the very nature of an entire problem space. This approach has helped to overcome some of the drawbacks of traditional AI models across three major dimensions:</p><ol><li>Expanded problem-solving scope</li><li>Massively improved performance</li><li>Increased availability and accessibility</li></ol><p>FMs have created a paradigm shift in the way artificial intelligence can be used to solve several real-world problems — individuals no longer require expertise in machine learning algorithms to enjoy the benefits of AI. These models have been pretrained and can be fine-tuned as required. We can be viewed as the “consumers” of AI foundation models.</p><figure><img alt="Image depicting how a Foundation Model is consumed" src="https://cdn-images-1.medium.com/max/936/1*7RbDrE0fbqgFu9knxqUpmw.png" /><figcaption>Figure 3: Foundation model lifecycle</figcaption></figure><h3><strong>Examples of foundation models</strong></h3><p>Foundation models are being developed across different problem spaces such as text and language, image, video, audio, and code.</p><p>An example of a <strong>text-based</strong> foundation model is GPT-3, developed by OpenAI. GPT-3 serves as a powerful base upon which various language understanding and generation tasks can be built and fine-tuned. It is also the driving force behind the ChatGPT application. Some examples of tasks that GPT-3 can perform are text generation, language translation, text summarization, question-answering, chatbot interactions, sentiment analysis, text completion, text classification, and other language understanding tasks. Competitors to GPT-3 include Amazon’s Titan and Claude by Anthropic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*upx8RKwFtNfogDsWxKjTCg.png" /><figcaption>Source: ChatGPT</figcaption></figure><p>An example of an <strong>image-based</strong> foundation model is Stable Diffusion by Stability AI. It can perform image-based tasks such as text-to-image generation, image inpainting, and image-to-image translation. It can also be easily fine-tuned with a few pictures of a new subject (even a picture of yourself!) to then generate images that contain the new subject. Other image-based foundation models include DALL-E by OpenAI and Imagen by Google. The visual below demonstrates an example on inpainting, where edits are made inside an image.</p><figure><img alt="GIF showing use of Stable Diffusion" src="https://cdn-images-1.medium.com/max/600/1*Rzi5lqjklb91wEFYNw1_Qw.gif" /><figcaption>Source: Stable Diffusion</figcaption></figure><h3><strong>Fine-tuned models</strong></h3><p>As opposed to foundation models, which do many things well, fine-tuned models are designed to perform one task extremely well. An example of a fine-tuned model is OpenAI Codex, which was derived from GPT-3. GitHub’s Copilot service makes use of Codex to understand code context and generate code that is efficient and secure.</p><h3><strong>Generative AI in the real world — chatbots</strong></h3><p>While generative AI has created exciting new opportunities, it also offers improvements to current technologies. One such use case is using generative AI to enhance chatbots. It can be used to craft more natural and contextually relevant responses based on brand-specific data. Unlike traditional chatbots, where the conversation flows along a predefined knowledge graph based on responses, GenAI chatbots can understand and produce more humanlike responses, making the interactions feel more engaging and authentic. Additionally, the knowledge base of a chatbot engine can be expanded using generative AI capabilities, allowing it to handle a wider range of user queries. For instance, imagine the chatbot incorporating prior answers or prior chat-session data to drive the conversation. By using generative AI, chatbots can be more versatile, effective, and user-friendly.</p><h3><strong>Cloud services and generative AI</strong></h3><p>The quick rise and multiple benefits of generative AI have led to major cloud providers adopting this technology quickly. The three biggest cloud providers — Amazon Web Services, Microsoft Azure, and Google Cloud — have already established their own services and offerings to make generative AI available to their customers. These services are generally available in two formats:</p><ol><li>As fully managed services that provide access to foundation models through API calls.</li><li>As models that can be deployed, fine-tuned, and customized on cloud computing resources.</li></ol><p>The cloud services that can be used are as follows:</p><figure><img alt="Table comparing AI offerings from cloud providers" src="https://cdn-images-1.medium.com/max/893/1*vQui-byrvrdTWgPWo2nbOw.png" /></figure><p>An added benefit — since these offerings are presented as managed services in your own cloud environment, any private data used with these models stays private within your account. It only exists in the instance of the model deployed in your private cloud environment.</p><h3><strong>Self-hosted generative AI</strong></h3><p>For those who prefer a self-hosted approach with more control over their data and fine-tuning, Hugging Face provides open-source models for natural language, audio, and image processing. Driven by a community that promotes open-source contributions, it also offers paid services, counting big names like Microsoft, Apple, and Meta as consumers of its datasets and models. <a href="https://huggingface.co/blog/bloom">BLOOM</a>, or BigScience Large Open-science Open-access Multilingual Language Model, is Hugging Face’s transformer-based LLM. BLOOM’s largest model has 176B parameters (GPT-3 has 175B parameters), supporting text for 46 natural languages and 13 programming languages.</p><p>We are starting to see other user-created self-hosted options as well. A tool called “llama.cpp” demonstrated how to run Meta’s LLaMA on a MacBook. Enterprising techies have figured out how to run <a href="https://arstechnica.com/information-technology/2023/03/you-can-now-run-a-gpt-3-level-ai-model-on-your-laptop-phone-and-raspberry-pi/">LLaMA on Windows, a Google Pixel 6, and Raspberry Pi</a> … but would you want to?</p><h3><strong>Risks of generative AI</strong></h3><p>As with any new technology, understanding the risks is essential to building safe and effective tools. A model is only as good as the data used to train it and the design of the model itself. A generative AI model does not understand the responses it is generating — it simply provides the most probabilistically accurate output based on the input prompt. Hence, not everything created by generative AI models can be automatically trusted, as one lawyer <a href="https://apnews.com/article/artificial-intelligence-chatgpt-fake-case-lawyers-d6ae9fa79d0542db9e1455397aef381c">found out the hard way</a>. Additionally, the quality of the data used to train the model largely determines the quality of the outputs generated. As a result, any inherent biases in the data are also learned by the model. <a href="https://www.bloomberg.com/graphics/2023-generative-ai-bias/">This</a> article does a great job of walking through some of the observed biases in image-based generative AI foundation models.</p><h3><strong>Conclusion</strong></h3><p>Generative AI may be the most revolutionary technology since the introduction of the smartphone. It promises to change the way we do business and interact with media. As foundational models and cloud computing become ever more accessible, even individuals can incorporate AI into their daily lives. The rapid advance of the technology in the last few years shows no signs of slowing, and the future is bright for even more exciting breakthroughs in AI.</p><p><em>Slalom is a global consulting firm that helps people and organizations dream bigger, move faster, and build better tomorrows for all. </em><a href="https://www.slalom.com/ai"><em>Learn more</em></a><em> about Slalom’s human-centered AI approach and </em><a href="https://www.slalom.com/what-we-do"><em>reach out today.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3103518e5fe8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Magic of Augmented Reality]]></title>
            <link>https://medium.com/@bostontechnologyenablement/the-magic-of-augmented-reality-88c98ac1d98a?source=rss-941652edc084------2</link>
            <guid isPermaLink="false">https://medium.com/p/88c98ac1d98a</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[harry-potter]]></category>
            <category><![CDATA[extended-reality]]></category>
            <category><![CDATA[slalom]]></category>
            <category><![CDATA[augmented-reality]]></category>
            <dc:creator><![CDATA[Slalom Boston Technology Enablement]]></dc:creator>
            <pubDate>Tue, 23 May 2023 15:22:00 GMT</pubDate>
            <atom:updated>2023-05-23T15:22:00.772Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Magic of Augmented Reality: A Step-by-Step Harry Potter Demo Guide</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*Rlxi9LanjydPKGVnslwwww.png" /><figcaption>Photo by <a href="https://unsplash.com/fr/@bitu2104?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Tuyen Vo</a> on <a href="https://unsplash.com/photos/tS-jh0M6JoA?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Immersive technologies like augmented reality (AR), virtual reality (VR) and mixed reality (MR) are captured under the umbrella of extended reality (XR), which has the ability to merge physical and virtual worlds. What if you could see a product in action before you buy it or learn new skills through digital, interactive experiences? That’s just the beginning of what technologies like AR can do.</p><p>There are many unique benefits that AR can provide that traditional media cannot. AR provides a more immersive experience by superimposing digital information onto the real world, which creates a sense of presence and interactivity that engages the user’s senses. Furthermore, it can be used to create educational content, going as far as simulating medical procedures and surgeries in the healthcare industry. AR can also be used to increase safety and efficiency in a variety of industries, such as the construction industry, to provide workers with information about potential hazards and updated safety protocols.</p><p>In this post, we will build a fun demo to introduce readers to the world of AR. We will be using Unity and Vuforia, which when used in conjunction allow developers to create highly interactive and immersive AR experiences that can be deployed on a wide range of platforms and devices. With Unity, a popular game engine, developers can create 3D models, animations, and other assets. Vuforia, a popular AR platform, will provide the necessary tools for recognizing and tracking real-world objects and overlaying digital content.</p><p>As a part of the demo, we will first provide the basic starting guide to set up Unity and Vuforia. We will further provide steps on how to re-create the <em>Daily Prophet</em>, a “magical” newspaper found in the popular novel series, <em>Harry Potter</em>. Follow along for an easy introduction to everything AR has to offer!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*rqhU18dX5LYjoe6SVl6qsg.gif" /><figcaption>Adding an AR GIF to an image target on a phone screen!</figcaption></figure><h4><strong>Import Vuforia package into Unity</strong></h4><p>Download Unity Hub for your OS from <a href="https://unity.com/download">here</a>, and set up a Unity account. After creating a new project via the Unity Hub, follow the process below to incorporate Vuforia, which will be used in the demo as mentioned previously.</p><p>1. Download the Vuforia Engine from the <a href="https://developer.vuforia.com/downloads/sdk">Developer Portal</a></p><p>2. In the Unity Editor, click Assets -&gt; Import Package -&gt; Custom Packages and select the Vuforia Engine package. Alternatively, you can double-click the package to import it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*qJxPsuunly8sNmHHMhfTKA.png" /></figure><p>3. When prompted, make sure all files are selected and import:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*w9_p1GAUYki_MOxOafzNMA.png" /></figure><h4>Add Vuforia AR Camera to the scene</h4><ol><li>Delete the Main Camera from the scene in the Hierarchy panel:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*1RtPL5Dd0-U1tSb29rzw5w.png" /></figure><p>2. Add the AR Camera by right-clicking in the Hierarchy panel, select Vuforia Engine -&gt; AR Camera:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*ii_lUcATCkWGSQ0fhOq_ug.png" /></figure><h4><strong>Create Vuforia license and import into the application</strong></h4><p>1. Log in to the <a href="https://developer.vuforia.com/vui/auth/login">Vuforia Developer Portal</a> (create an account if you haven’t already). Create a Basic License for your app.</p><p>2. Click on the new license and copy the license key.</p><p>3. In the Unity Editor, under the Project pane, click on Resources -&gt; VuforiaConfiguration. Paste the license key under the Inspector pane on the right:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*jGM5uNfMDwpjovCMZ84w8Q.png" /></figure><h4><strong>Create and import image targets</strong></h4><p>1. Head back to the Vuforia Developer Portal and create a database to store the Image Targets.</p><p>2. Choose Device as the type:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*djsK0gMRhcbcJk82XEjhnQ.png" /></figure><p>3. Upload the target image, specifying a width of 1. The uploaded image should show up in the database. Download the database package by using the Download Database option with the Unity Editor option:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*APMNC0Ill1ZjCJtowiGweA.png" /></figure><p>4. Double-clicking the downloaded file will result in a pop-up in Unity to import the database:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*sB3-YozzreAaNSHfNT1pgg.png" /></figure><h4>Use Image Target in Unity</h4><ol><li>Right-click in the Hierarchy panel, select Vuforia Engine -&gt; Image Target:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*Ou0FAsGwYs0QurqhLQldfw.png" /></figure><p>2. Select Image Target to view properties in the Inspector panel on the right. Change the Image Target Behavior to use the target image uploaded to the database:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*FVyaOEW_MGcDTlbdDniWTQ.png" /></figure><h4>Adding video</h4><p>We will add a looping video of Sirius Black yelling when we present the AR target with the image.</p><ol><li>Right-click the Image Target in the Hierarchy menu, and add a 3D object. Select a plane.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*2daxc_3ayJNjyBFJXqhtrQ.png" /></figure><p>2. Use the move, rotate, and resize tools to get the plane right in front of the still image of Harry Potter on the <em>Daily Prophet.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*NrEcf-4WIJ7CpSAWSJQ12g.png" /></figure><p>3. Let’s now attach a Video Player to that plane:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*GYJ-bZIXGMxFijQwMW5CaQ.png" /></figure><p>4. On the Video Player settings on the right, set Render Mode to Material Override and Renderer to Plane (Mesh Renderer). Also check the Loop box, which will cause the video to loop. Set Source to URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*sVeCA1TH-_dulwUF29c2OA.png" /></figure><p>5. Make sure you have a video source downloaded to your computer. I’m using this short loop of Sirius Black found <a href="https://twodegrees1.sharepoint.com/:v:/t/SoftwareEngineering/EemUorK55-9Ah6NtH_HvgpoBfjMGzyCvEe_8zgC18XswOg?e=Rg2h1W">here</a>. You could use a loop of <em>Harry Potter</em>, or whatever video you have. Set the Source to that link.</p><p>Hit the Play button on the video window. You can either print out a copy of your Image Target, or download it to a mobile device. I downloaded the <em>Daily Prophet</em> image to my phone, and held it up to the camera. Vuforia will recognize the image and overlay Sirius Black on top of it. Your finished project should look like this!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*rqhU18dX5LYjoe6SVl6qsg.gif" /></figure><p>In conclusion, augmented reality is an exciting technology that has the potential to revolutionize the way we interact with the world around us. From enhancing customer engagement to improving learning and training, AR has already made a big impact in various industries. While AR technology continues to evolve and becomes more innovative and immersive, there are still some challenges to be addressed, such as cost and privacy concerns. AR will play an increasingly important role in our lives, whether it’s playing games or learning new skills.</p><p>We hope that this demo was informative and inspiring, offering a glimpse into the technology of AR!</p><p><em>Slalom is a global consulting firm that helps people and organizations dream bigger, move faster, and build better tomorrows for all. </em><a href="https://www.slalom.com/what-we-do"><em>Learn more and reach out today.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88c98ac1d98a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Development Architecture Patterns (and When to Use Them)]]></title>
            <link>https://medium.com/@bostontechnologyenablement/web-development-architecture-patterns-and-when-to-use-them-9037c1eef5a0?source=rss-941652edc084------2</link>
            <guid isPermaLink="false">https://medium.com/p/9037c1eef5a0</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[webdev]]></category>
            <dc:creator><![CDATA[Slalom Boston Technology Enablement]]></dc:creator>
            <pubDate>Tue, 19 Jul 2022 21:32:52 GMT</pubDate>
            <atom:updated>2022-07-19T21:32:52.247Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rjxs4H8mvrsoXH91QbBBTQ.jpeg" /></figure><p>Slalom Boston’s software engineering guild will be diving into commonly used architecture patterns and gotchas in a series of posts. In this post, we will break down two of the most used web patterns, namely SSR(Server Side Rendering) and CSR(Client Side Rendering). We will lay out the differences and use cases they are best suited for. The diagram below captures some of the other patterns we will cover in upcoming posts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*PgoDcub6U6yizfCJBfdxUw.png" /></figure><h4><strong>Client-side rendering</strong></h4><p>This approach became popular with the rise of frameworks such as Angular and React. Client-Side Rendering is a rendering technique where after an initial request to a server, all subsequent renders occur in the browser. Web applications made with this technique are often called Single Page Applications (SPA)because there is only a single HTML file, or “page” ever served to the client. This file, often <em>index.html, </em>typically contains boilerplate HTML code and a single element that is the application root.</p><p>When the server receives a request, it serves the file along with a JavaScript bundle. Once the client downloads these assets, the JavaScript code generates the actual content and inserts it into the root element.</p><p>When a user clicks on a navigation link, instead of the browser refreshing and requesting a new page, the JavaScript code responsible for the SPA routing generates and injects a new “page” inside that root element, replacing the previous page. This creates a navigation experience approaching the speed and smoothness of a native application. This is especially true if the user has a slow network connection, because after the initial request to the server completes, the user’s latency is no longer the limiting factor in navigating through a web application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*fs1nVimDy0pMhLUZc_4RyA.png" /></figure><h4><strong>Server-side rendering</strong></h4><p>The conventional way of rendering HTML on a screen relied on Server-Side Rendering. Webpages displayed static content with little or no interaction required from the end-users.</p><p>In the modern times, websites are no longer just used for displaying static pages but can display dynamic content. This allows users to interact with websites, allowing for applications such as online shopping or banking. When a user requests a webpage, the server prepares an HTML page by fetching user-specific data and sends it to the user’s machine over the internet. Hence, the initial page load time is faster. If a request is made for a different page on the website, the browser will make another request for new information. This will occur each time a user visits a new page that the browser does not have a cached version of.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hLdlu2Q4dLMpoKJo0C3tvg.png" /></figure><h4><strong>Server-side Rendering vs. Client-side Rendering</strong></h4><p>When deciding what to choose when, a number of factors might influence that decision. We have captured some factors that are commonly used to determine one approach over the other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*3RBp5e5Cgup3jX3v3WRpGw.png" /></figure><p>There is no wrong answer, just the best pattern for a given scenario.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9037c1eef5a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>