{"id":21431,"date":"2023-10-10T09:00:35","date_gmt":"2023-10-10T16:00:35","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azuregov\/?p=21431"},"modified":"2023-10-10T09:00:35","modified_gmt":"2023-10-10T16:00:35","slug":"decoding-ai-part-3","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azuregov\/decoding-ai-part-3\/","title":{"rendered":"Decoding AI: Part 3, Making data speak human"},"content":{"rendered":"<p><em>Welcome back to <strong>Part 3 of our Decoding AI: A Government Perspective series<\/strong>. In our <\/em><a href=\"https:\/\/aka.ms\/DecodingAIPart2\"><em>last installment<\/em><\/a><em>, we explored the nuanced landscape of anomaly detection and how it intersects with generative AI in shaping the future of public governance. As promised, today&#8217;s dialogue will pivot toward semantic search and its role in converting complex data into easily interpretable, actionable insights. \u2013 Siddhartha Chaturvedi, Miri Rodriguez <\/em><\/p>\n<p><strong>Semantic search: A cognitive leap beyond keywords<\/strong><\/p>\n<p>For a long time, traditional search engines have been revered for their impressive ability to sift through and parse millions of documents in the blink of an eye. This remarkable feat of processing power and speed has revolutionized the way we access information. However, despite their advanced capabilities, these engines often stumbled when it came to understanding the nuances of human language. Specifically, they struggled with comprehending the context or sentiment embedded within a user\u2019s query. This limitation highlighted the complexity and subtlety of human communication, which goes beyond mere words and involves a deeper understanding of context, tone, and emotion.<\/p>\n<p>This is where semantic search swings in, adding a layer of comprehension to the raw computing power of generative AI. Utilizing Natural Language Processing (NLP), it can decipher not just the query&#8217;s literal text but the intention behind it.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-1.jpg\"><img decoding=\"async\" class=\"size-large wp-image-21429 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-1-1024x576.jpg\" alt=\"Image Decoding AI Part III image 1\" width=\"640\" height=\"360\" srcset=\"https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-1-1024x576.jpg 1024w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-1-300x169.jpg 300w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-1-768x432.jpg 768w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-1-1536x864.jpg 1536w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-1.jpg 1920w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 10pt;\"><em>This image shows how a semantic search engine interprets and responds to a natural language query. The top part of the image illustrates the query analysis, where the search engine breaks down the query into semantic components and relationships. The bottom part of the image illustrates the data retrieval, where the search engine accesses and displays relevant data sources that match the query. Semantic search engines aim to provide more natural and interactive search experiences for users. \u2013 Generated by Bing Chat (GPT4)<\/em><\/span><\/p>\n<p>Imagine the transformative potential this capability can have in the public sector. For instance, immigration officers could sift through vast legal documents, not merely for generic terms like \u201cvisa statuses,\u201d but pinpointing nuanced conditions such as \u201ctemporary work visas granted under economic hardship.\u201d This level of precision could significantly enhance efficiency and decision-making in immigration processes. It&#8217;s a shift from data retrieval to knowledge discovery, streamlining governmental operations like never before.<\/p>\n<p><strong>Potential use cases<\/strong><\/p>\n<p>Semantic search lends itself to multiple applications within government:<\/p>\n<p><strong>Climate resilience and adaptation<\/strong><\/p>\n<p>Agencies focused on environmental protection and climate adaptation can employ semantic search sift through meteorological data, scientific research, and crowd-sourced data, then translated to the right format leveraging LLMs. With engines like <a href=\"https:\/\/planetarycomputer.microsoft.com\/\">Microsoft Planetary Computer<\/a>, we can even bring in Geospatial data, but more on that in the next blog. This can yield an intricate understanding of climate-related risks and potential adaptive measures, simplified for understanding and access, aiding in policy formulation and community engagement, supercharging <a href=\"https:\/\/www.noaa.gov\/news-release\/noaa-microsoft-team-up-to-advance-climate-ready-nation\">investments to build a climate ready nation<\/a>.<\/p>\n<p><strong>Citizen services<\/strong><\/p>\n<p>Imagine a citizen wanting to understand tax codes or healthcare benefits. A semantically intelligent portal could dissect the context of the user&#8217;s query, tapping into underlying databases and generating human-readable summaries or action plans, thereby accelerating service delivery.<\/p>\n<p><strong>Integrating generative AI: The &#8216;translate&#8217; function for data<\/strong><\/p>\n<p>Semantic search is not an island; it works best when integrated with generative AI. Consider a scenario where an anomaly is detected in public healthcare records. The semantic search first narrows down the possible causes from medical literature and guidelines. Then generative AI kicks in, translating the jargon-filled text into layman&#8217;s terms complete with suggestions for policymakers.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-2.jpg\"><img decoding=\"async\" class=\"size-large wp-image-21430 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-2-1024x576.jpg\" alt=\"Image Decoding AI Part III image 2\" width=\"640\" height=\"360\" srcset=\"https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-2-1024x576.jpg 1024w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-2-300x169.jpg 300w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-2-768x432.jpg 768w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-2-1536x864.jpg 1536w, https:\/\/devblogs.microsoft.com\/azuregov\/wp-content\/uploads\/sites\/43\/2023\/10\/Decoding-AI-Part-III-image-2.jpg 1920w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 10pt;\"><em>This image shows how a generative engine can produce new and realistic content based on a user\u2019s input. The user can enter any natural language query or prompt, and the generative engine will create content that matches the query. The image illustrates the data flow between the user and the generative engine, Generative engines are a type of artificial intelligence that can learn from existing data and generate novel data that reflects the characteristics of the underpinning training data. \u2013 Generated by Bing Chat (GPT4)<\/em><\/span><\/p>\n<p><strong>The confluence of technologies: Framework for synergy<\/strong><\/p>\n<p>So, what&#8217;s the ideal architecture for this? While the architecture of integrative AI is still evolving, we suggest a way of thinking that has three parts. The first part is about people. We want to make AI that helps people and understand them. The second part is about nature. We want to make AI that fits well with the things that people already do and use. The third part is about process. We want to make AI that can change and grow with the needs of people. Semantic search is a type of AI that helps with the first part. It can understand what people mean when they search for something. Generative AI is a type of AI that helps with the second and third parts. It can create new things that match what people want. It can also work well with different situations and scales.<\/p>\n<p><strong>Let&#8217;s get started:<\/strong><\/p>\n<ol>\n<li><strong>Prepare your semantic search<\/strong>\n<ul>\n<li>Begin with a semantic search engine like Azure Cognitive Search, optimized for government databases.<\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/solution-accelerator-for-knowledge-mining-available-for-azure-government\/\">Solution accelerator for knowledge mining available for Azure Government &#8211; Azure Government (microsoft.com)<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/search\/\">Read more: What is Azure Cognitive Search?<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>Incorporate generative AI<\/strong>\n<ul>\n<li>Integrate your search results with a generative AI model using Azure OpenAI Services.<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/\">Read more: Use OpenAI GPT-4 with Azure Cognitive Services<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>Validate and fine-tune<\/strong>\n<ul>\n<li>Use dashboards and logs to understand how often the AI system is used and how accurately it interprets semantic queries. Iterate.<\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/\">Read more: Microsoft Learn on AI accuracy<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>In our next installment, <strong>we will delve into multimodal sensing<\/strong>, feeding diverse data streams, text, voice, and images, to have a higher fidelity of information and knowledge.<\/p>\n<p>The horizon of integrating AI and human-centric design is dazzling, and we couldn&#8217;t be more excited to explore this frontier with you.<\/p>\n<p>Your continual engagement fuels our pursuit of clarity in this complex landscape. Don\u2019t hesitate to <a href=\"https:\/\/aka.ms\/AIforGovFeedback\">share your thoughts<\/a> as we continue this intellectual journey together. Stay tuned!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back to Part 3 of our Decoding AI: A Government Perspective series. In our last installment, we explored the nuanced landscape of anomaly detection and how it intersects with generative AI in shaping the future of public governance. As promised, today&#8217;s dialogue will pivot toward semantic search and its role in converting complex data [&hellip;]<\/p>\n","protected":false},"author":128904,"featured_media":21428,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-21431","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements","category-azuregov"],"acf":[],"blog_post_summary":"<p>Welcome back to Part 3 of our Decoding AI: A Government Perspective series. In our last installment, we explored the nuanced landscape of anomaly detection and how it intersects with generative AI in shaping the future of public governance. As promised, today&#8217;s dialogue will pivot toward semantic search and its role in converting complex data [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts\/21431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/users\/128904"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/comments?post=21431"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts\/21431\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/media\/21428"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/media?parent=21431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/categories?post=21431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/tags?post=21431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}