{"id":53846,"date":"2025-09-15T10:56:39","date_gmt":"2025-09-15T00:56:39","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/?p=53846"},"modified":"2025-09-15T10:56:42","modified_gmt":"2025-09-15T00:56:42","slug":"understanding-azure-phi-3","status":"publish","type":"post","link":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/","title":{"rendered":"Understanding Azure Phi-3"},"content":{"rendered":"\n<p>In this blog post Understanding Azure Phi-3 and how to use it across cloud and edge we will unpack what Azure Phi-3 is, why it matters, and how you can put it to work quickly and safely.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Think of <a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/\">Azure<\/a> Phi-3 as a family of small, efficient language models designed to deliver strong reasoning and coding capabilities at a fraction of the cost and latency of giant models. If GPT-4-class models are your Swiss Army knife for the hardest problems, Phi-3 is the fast, lightweight tool you\u2019ll reach for most days\u2014especially when you care about response time, budget, and running close to your data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-azure-phi-3\">What is Azure Phi-3<\/h2>\n\n\n\n<p>Azure Phi-3 is Microsoft\u2019s family of small language models (SLMs) available through the Azure AI model catalog and serverless APIs. The family includes variants optimised for instruction following, coding, and even vision (depending on availability in your region). Sizes range roughly from a few billion to low-teens of billions of parameters, with short and extended context options (for example, 4K and up to 128K tokens, depending on the specific model build).<\/p>\n\n\n\n<p>Phi-3 models are tuned for practical enterprise workloads: high-quality summarisation, question answering, structured extraction, code assistance, and as the engine in retrieval-augmented generation (RAG). They\u2019re built to run efficiently in the cloud, on AKS, and even on capable edge devices.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-technology-behind-phi-3\">The technology behind Phi-3<\/h2>\n\n\n\n<p>Under the hood, Phi-3 uses a modern Transformer decoder architecture with careful training and alignment. Three ideas make it stand out for real-world use:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Small model, big quality:<\/strong> Training centred on high-quality, curated and synthetic data improves reasoning and instruction-following without bloating parameter count.<\/li>\n\n\n\n<li><strong>Efficient inference:<\/strong> Quantisation (e.g., 8-bit, 4-bit) and runtime optimisations through ONNX Runtime, TensorRT-LLM, and other accelerators enable low-latency responses on modest GPUs and even some CPUs.<\/li>\n\n\n\n<li><strong>Alignment and safety:<\/strong> Instruction tuning, preference optimisation, and guardrails improve helpfulness and reduce unsafe outputs. Azure provides content filtering, abuse monitoring, and governance features around the models.<\/li>\n<\/ul>\n\n\n\n<p>The result: a responsive, cost-efficient model that\u2019s simple to scale and easy to embed in existing applications and pipelines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-when-to-choose-phi-3-vs-very-large-models\">When to choose Phi-3 vs very large models<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Choose Phi-3<\/strong> when you need low latency, lower cost, predictable throughput, and good quality for common tasks (summarisation, classification, basic reasoning, code assistance, RAG on your data).<\/li>\n\n\n\n<li><strong>Choose larger models<\/strong> when you need state-of-the-art reasoning on novel or highly complex tasks, multi-step tool use at scale, or the best possible accuracy regardless of cost.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-ways-to-use-phi-3-in-azure\">Ways to use Phi-3 in Azure<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Serverless API (Models as a Service):<\/strong> Deploy a Phi-3 variant from Azure AI Studio with a single click. You get a secure HTTPS endpoint with an OpenAI-compatible chat completions API.<\/li>\n\n\n\n<li><strong>Azure Kubernetes Service (self-host):<\/strong> Package a Phi-3 container and run it in your cluster for maximum control, VNet isolation, and custom autoscaling.<\/li>\n\n\n\n<li><strong>Edge and on-device:<\/strong> Run quantised Phi-3 via ONNX Runtime on Windows (DirectML), Linux, or capable embedded devices for offline or near-data scenarios.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-by-step-get-a-serverless-phi-3-endpoint\">Step-by-step: Get a serverless Phi-3 endpoint<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open <strong>Azure AI Studio<\/strong> and go to <strong>Model catalog<\/strong>. Search for <em>Phi-3<\/em> (e.g., <em>Phi-3-mini<\/em>, <em>Phi-3-small<\/em>, <em>Phi-3-medium<\/em>).<\/li>\n\n\n\n<li>Select a model variant and click <strong>Deploy<\/strong>. Choose <strong>Serverless API<\/strong> and confirm the default throughput settings.<\/li>\n\n\n\n<li>Once deployed, open the <strong>Consume<\/strong> tab. You\u2019ll see your endpoint URL, API key, and sample code.<\/li>\n\n\n\n<li>Test in the Studio\u2019s playground, then copy the sample into your app.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-call-the-api-from-python\">Call the API from Python<\/h2>\n\n\n\n<p>The serverless endpoint exposes an OpenAI-style chat completions API. The exact headers and URL are provided in the <em>Consume<\/em> tab; they typically follow this shape:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-070e90c415b8a97a8b1c4bbb034ba338\"><code>import os\nimport requests\n\nendpoint = os.environ&#91;\"AZURE_PHI3_ENDPOINT\"]  # e.g., https:\/\/&lt;id&gt;.&lt;region&gt;.models.ai.azure.com\napi_key = os.environ&#91;\"AZURE_PHI3_KEY\"]\n\nheaders = {\n    \"Content-Type\": \"application\/json\",\n    # Depending on the endpoint instructions, either:\n    # \"Authorization\": f\"Bearer {api_key}\",\n    # or\n    # \"api-key\": api_key,\n}\n\npayload = {\n    \"model\": \"Phi-3-mini-4k-instruct\",  # your deployed model name\n    \"messages\": &#91;\n        {\"role\": \"system\", \"content\": \"You are a concise, helpful assistant.\"},\n        {\"role\": \"user\", \"content\": \"Summarise Azure Phi-3 in two sentences.\"}\n    ],\n    \"temperature\": 0.3,\n}\n\nresp = requests.post(f\"{endpoint}\/v1\/chat\/completions\", headers=headers, json=payload, timeout=30)\nresp.raise_for_status()\nprint(resp.json()&#91;\"choices\"]&#91;0]&#91;\"message\"]&#91;\"content\"])<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-call-the-api-from-net-c\">Call the API from .NET (C#)<\/h2>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-e341236c333a87b24bf4808ec0aae95a\"><code>using System;\nusing System.Net.Http;\nusing System.Net.Http.Headers;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Newtonsoft.Json;\n\npublic class Phi3Client\n{\n    private readonly HttpClient _http = new HttpClient();\n    private readonly string _endpoint;\n\n    public Phi3Client(string endpoint, string apiKey, bool useBearerHeader = true)\n    {\n        _endpoint = endpoint.TrimEnd('\/');\n        if (useBearerHeader)\n            _http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(\"Bearer\", apiKey);\n        else\n            _http.DefaultRequestHeaders.Add(\"api-key\", apiKey);\n    }\n\n    public async Task&lt;string&gt; ChatAsync(string prompt)\n    {\n        var body = new\n        {\n            model = \"Phi-3-small-8k-instruct\",\n            messages = new object&#91;]\n            {\n                new { role = \"system\", content = \"You are a helpful assistant.\" },\n                new { role = \"user\", content = prompt }\n            },\n            temperature = 0.2\n        };\n\n        var content = new StringContent(JsonConvert.SerializeObject(body), Encoding.UTF8, \"application\/json\");\n        var res = await _http.PostAsync($\"{_endpoint}\/v1\/chat\/completions\", content);\n        res.EnsureSuccessStatusCode();\n        dynamic json = JsonConvert.DeserializeObject(await res.Content.ReadAsStringAsync());\n        return (string)json.choices&#91;0].message.content;\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-rag-with-phi-3\">RAG with Phi-3<\/h2>\n\n\n\n<p>Phi-3 shines when paired with your data. A typical RAG setup on Azure:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Ingest<\/strong> documents into Azure AI Search or a vector database (e.g., Azure Cosmos DB for MongoDB vCore with vectors).<\/li>\n\n\n\n<li><strong>Embed<\/strong> content using an embedding model (from the Azure model catalog).<\/li>\n\n\n\n<li><strong>Retrieve<\/strong> relevant passages at query time.<\/li>\n\n\n\n<li><strong>Augment<\/strong> the prompt with retrieved context and send to Phi-3.<\/li>\n<\/ol>\n\n\n\n<p>Because Phi-3 is efficient, you can afford to run more RAG traffic with lower latency while keeping costs predictable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-fine-tuning-and-customisation\">Fine-tuning and customisation<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>LoRA\/QLoRA fine-tuning:<\/strong> Use Azure AI Studio or Azure Machine Learning to fine-tune Phi-3 with a small set of high-quality examples to lock in tone, format, or domain-specific knowledge.<\/li>\n\n\n\n<li><strong>Prompt engineering:<\/strong> Start with a clear system prompt. Define output schemas and specify examples. Use temperature 0.1\u20130.3 for deterministic outputs.<\/li>\n\n\n\n<li><strong>Guardrails:<\/strong> Enable Azure safety filters. Add pattern checks and content validators (e.g., PII detection) in your app.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-sizing-performance-and-cost-tips\">Sizing, performance, and cost tips<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Match model size to task:<\/strong> Start with <em>mini<\/em> for lightweight tasks; move to <em>small<\/em> or <em>medium<\/em> if you need stronger reasoning or longer contexts.<\/li>\n\n\n\n<li><strong>Quantise for speed:<\/strong> INT8\/INT4 quantisation can reduce latency and memory with minimal quality loss for many tasks.<\/li>\n\n\n\n<li><strong>Batching and streaming:<\/strong> Enable token streaming for faster first-token latency; batch requests in backend services to improve throughput.<\/li>\n\n\n\n<li><strong>Monitor tokens:<\/strong> Track input and output tokens to control cost and ensure prompts fit within the model\u2019s context window.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-security-and-governance\">Security and governance<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Data handling:<\/strong> For serverless endpoints, review data retention settings in Azure AI Studio; configure them to meet your compliance requirements.<\/li>\n\n\n\n<li><strong>Network isolation:<\/strong> Use Private Link, VNet integration, and managed identities to control access and eliminate public exposure where possible.<\/li>\n\n\n\n<li><strong>Observability:<\/strong> Log prompts and outputs (redacting sensitive data), track safety filter hits, and set up alerts on error rates and latency.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-common-pitfalls-and-how-to-avoid-them\">Common pitfalls and how to avoid them<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Overlong prompts:<\/strong> Trimming or summarising context improves quality and latency. Don\u2019t rely on the model to ignore irrelevant text.<\/li>\n\n\n\n<li><strong>Unclear instructions:<\/strong> Use explicit system prompts and provide examples. For structured outputs, request JSON and validate it.<\/li>\n\n\n\n<li><strong>Assuming LLM parity:<\/strong> Phi-3 is strong for its size but not a drop-in replacement for the largest models on the hardest tasks. Test with your data.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-running-phi-3-on-the-edge\">Running Phi-3 on the edge<\/h2>\n\n\n\n<p>If you need offline inference or ultra-low latency near devices:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Export or obtain a quantised Phi-3 model compatible with ONNX Runtime.<\/li>\n\n\n\n<li>Use ONNX Runtime with DirectML (Windows), CUDA (NVIDIA), or CPU execution providers.<\/li>\n\n\n\n<li>Cache system prompts and templates; stream tokens to the UI for responsiveness.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-cpi-can-help\">How CPI can help<\/h2>\n\n\n\n<p>We help teams design and ship production-grade Phi-3 solutions\u2014serverless endpoints, AKS deployments, secure RAG architectures, prompt and data pipelines, and cost governance. If you\u2019re in discovery, we run short, fixed-scope pilots that de-risk the path to value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-next-steps\">Next steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Pick a Phi-3 variant in Azure AI Studio and deploy a serverless endpoint.<\/li>\n\n\n\n<li>Test with the Python or .NET snippet above.<\/li>\n\n\n\n<li>Add RAG with Azure AI Search, then iterate on prompts, context size, and temperature.<\/li>\n\n\n\n<li>Introduce logging, safety filters, and performance monitoring before going live.<\/li>\n<\/ol>\n\n\n\n<p>Azure Phi-3 makes practical AI more attainable: fast, affordable, and flexible across cloud and edge. If you want a second set of hands to get into production, CloudPro Inc is ready to help.<\/p>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links yoast-seo-related-links\">\n<li><a href=\"null\">Updating Microsoft Edge Using Intune<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/04\/18\/build-ai-applications-with-azure-ai-foundry\/\">Build AI applications With Azure AI Foundry<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/10\/07\/increase-phpmyadmin-upload-size-limit-on-azure-web-app\/\">Increase PHPMyAdmin Upload Size Limit on Azure Web App<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/08\/26\/graphrag-explained\/\">GraphRAG Explained<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/architecture-of-rag-building-reliable-retrieval-augmented-ai\/\">Architecture of RAG Building Reliable Retrieval Augmented AI<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Learn what Azure Phi-3 is, when to use it, and how to deploy and customize it across Azure, AKS, and the edge with practical steps and code snippets.<\/p>\n","protected":false},"author":1,"featured_media":53853,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"Understanding Azure Phi-3","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Explore Understanding Azure Phi-3 and discover its powerful, efficient language models for cloud and edge computing solutions.","_yoast_wpseo_opengraph-title":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_twitter-title":"","_yoast_wpseo_twitter-description":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,13,88],"tags":[],"class_list":["post-53846","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-azure","category-blog","category-phi-3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Understanding Azure Phi-3 - CPI Consulting<\/title>\n<meta name=\"description\" content=\"Explore Understanding Azure Phi-3 and discover its powerful, efficient language models for cloud and edge computing solutions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding Azure Phi-3\" \/>\n<meta property=\"og:description\" content=\"Explore Understanding Azure Phi-3 and discover its powerful, efficient language models for cloud and edge computing solutions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/\" \/>\n<meta property=\"og:site_name\" content=\"CPI Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-15T00:56:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-15T00:56:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudproinc.azurewebsites.net\/wp-content\/uploads\/2025\/09\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"CPI Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CPI Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/\"},\"author\":{\"name\":\"CPI Staff\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\"},\"headline\":\"Understanding Azure Phi-3\",\"datePublished\":\"2025-09-15T00:56:39+00:00\",\"dateModified\":\"2025-09-15T00:56:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/\"},\"wordCount\":1172,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png\",\"articleSection\":[\"Azure\",\"Blog\",\"Phi-3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/\",\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/\",\"name\":\"Understanding Azure Phi-3 - CPI Consulting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png\",\"datePublished\":\"2025-09-15T00:56:39+00:00\",\"dateModified\":\"2025-09-15T00:56:42+00:00\",\"description\":\"Explore Understanding Azure Phi-3 and discover its powerful, efficient language models for cloud and edge computing solutions.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#primaryimage\",\"url\":\"\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png\",\"width\":1536,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2025\\\/09\\\/15\\\/understanding-azure-phi-3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding Azure Phi-3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#website\",\"url\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/\",\"name\":\"Cloud Pro Inc - CPI Consulting Pty Ltd\",\"description\":\"Cloud, AI &amp; Cybersecurity Consulting | Melbourne\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#organization\",\"name\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\",\"url\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"width\":500,\"height\":500,\"caption\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\",\"name\":\"CPI Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"caption\":\"CPI Staff\"},\"sameAs\":[\"http:\\\/\\\/www.cloudproinc.com.au\"],\"url\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/author\\\/cpiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Understanding Azure Phi-3 - CPI Consulting","description":"Explore Understanding Azure Phi-3 and discover its powerful, efficient language models for cloud and edge computing solutions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/","og_locale":"en_US","og_type":"article","og_title":"Understanding Azure Phi-3","og_description":"Explore Understanding Azure Phi-3 and discover its powerful, efficient language models for cloud and edge computing solutions.","og_url":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/","og_site_name":"CPI Consulting","article_published_time":"2025-09-15T00:56:39+00:00","article_modified_time":"2025-09-15T00:56:42+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/cloudproinc.azurewebsites.net\/wp-content\/uploads\/2025\/09\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png","type":"image\/png"}],"author":"CPI Staff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CPI Staff","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#article","isPartOf":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/"},"author":{"name":"CPI Staff","@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e"},"headline":"Understanding Azure Phi-3","datePublished":"2025-09-15T00:56:39+00:00","dateModified":"2025-09-15T00:56:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/"},"wordCount":1172,"commentCount":0,"publisher":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#organization"},"image":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/09\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png","articleSection":["Azure","Blog","Phi-3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/","url":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/","name":"Understanding Azure Phi-3 - CPI Consulting","isPartOf":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#primaryimage"},"image":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/09\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png","datePublished":"2025-09-15T00:56:39+00:00","dateModified":"2025-09-15T00:56:42+00:00","description":"Explore Understanding Azure Phi-3 and discover its powerful, efficient language models for cloud and edge computing solutions.","breadcrumb":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#primaryimage","url":"\/wp-content\/uploads\/2025\/09\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png","contentUrl":"\/wp-content\/uploads\/2025\/09\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png","width":1536,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/09\/15\/understanding-azure-phi-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudproinc.azurewebsites.net\/"},{"@type":"ListItem","position":2,"name":"Understanding Azure Phi-3"}]},{"@type":"WebSite","@id":"https:\/\/cloudproinc.azurewebsites.net\/#website","url":"https:\/\/cloudproinc.azurewebsites.net\/","name":"Cloud Pro Inc - CPI Consulting Pty Ltd","description":"Cloud, AI &amp; Cybersecurity Consulting | Melbourne","publisher":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudproinc.azurewebsites.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudproinc.azurewebsites.net\/#organization","name":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd","url":"https:\/\/cloudproinc.azurewebsites.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","contentUrl":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","width":500,"height":500,"caption":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd"},"image":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e","name":"CPI Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","caption":"CPI Staff"},"sameAs":["http:\/\/www.cloudproinc.com.au"],"url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/author\/cpiadmin\/"}]}},"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/09\/understanding-azure-phi-3-and-how-to-use-it-across-cloud-and-edge.png","jetpack-related-posts":[{"id":614,"url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2024\/09\/06\/how-to-create-an-azure-ai-language-account-using-rest-api\/","url_meta":{"origin":53846,"position":0},"title":"How to Create an Azure AI Language Account Using REST API","author":"CPI Staff","date":"September 6, 2024","format":false,"excerpt":"This Azure AI Services article will show how to create an Azure AI Language Account using REST API. Table of contentsOut-of-the-Box FeaturesHow to Create an Azure AI Language Account Using REST APICreate POST RequestRequest BodyRelated Articles Azure AI Language allows us to build applications based on language models that can\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp 1x, \/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp 1.5x, \/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp 2x"},"classes":[]},{"id":57288,"url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2026\/03\/22\/what-microsoft-ai-foundry-means-for-australian-organisations-designing-enterprise-ai-platforms\/","url_meta":{"origin":53846,"position":1},"title":"What Microsoft AI Foundry Means for Australian Organisations Designing Enterprise AI Platforms","author":"CPI Staff","date":"March 22, 2026","format":false,"excerpt":"Most Australian organisations that started building AI capabilities in the last two years are hitting the same wall. The proof of concept worked. The board approved the next phase. And now IT teams are drowning in questions nobody planned for. Where do the models run? Who approves new deployments? How\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-australian-enterprise-ai-platforms-cover.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-australian-enterprise-ai-platforms-cover.png 1x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-australian-enterprise-ai-platforms-cover.png 1.5x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-australian-enterprise-ai-platforms-cover.png 2x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-australian-enterprise-ai-platforms-cover.png 3x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-australian-enterprise-ai-platforms-cover.png 4x"},"classes":[]},{"id":57294,"url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2026\/03\/18\/microsoft-ai-foundry-hq-closes-the-gap-between-ai-experimentation-and-enterprise-grade-deployment\/","url_meta":{"origin":53846,"position":2},"title":"Microsoft AI Foundry HQ Closes the Gap Between AI Experimentation and Enterprise-Grade Deployment","author":"CPI Staff","date":"March 18, 2026","format":false,"excerpt":"Most Australian organisations have the same AI problem right now. The proof of concept worked. Leadership approved the budget. And then everything stalled. The gap between a successful AI experiment and a production-grade enterprise deployment is wider than anyone expected. Models need governance. Agents need monitoring. Compliance teams need audit\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-hq-closes-gap-ai-experimentation-enterprise-deployment-cover.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-hq-closes-gap-ai-experimentation-enterprise-deployment-cover.png 1x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-hq-closes-gap-ai-experimentation-enterprise-deployment-cover.png 1.5x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-hq-closes-gap-ai-experimentation-enterprise-deployment-cover.png 2x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-hq-closes-gap-ai-experimentation-enterprise-deployment-cover.png 3x, \/wp-content\/uploads\/2026\/03\/microsoft-ai-foundry-hq-closes-gap-ai-experimentation-enterprise-deployment-cover.png 4x"},"classes":[]},{"id":618,"url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2024\/09\/08\/build-a-conversational-language-bot-with-azure-ai-language\/","url_meta":{"origin":53846,"position":3},"title":"Build a Conversational Language Bot with Azure AI Language","author":"CPI Staff","date":"September 8, 2024","format":false,"excerpt":"The second blog post about Azure AI Language will show how to Build a Conversational Language Bot with Azure AI Language. Table of contentsCreate an Azure AI Language ResourceBuild a Conversational Language Bot with Azure AI LanguageDeploy the ModelConfigure a .NET Application If you missed the first blog post about\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp 1x, \/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp 2x"},"classes":[]},{"id":53520,"url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/07\/21\/running-pytorch-in-microsoft-azure-machine-learning\/","url_meta":{"origin":53846,"position":4},"title":"Running PyTorch in Microsoft Azure Machine Learning","author":"CPI Staff","date":"July 21, 2025","format":false,"excerpt":"This post will walk you through what PyTorch is, how it's used in ML and LLM development, and how you can start running it in Azure ML using Jupyter notebooks. If you're working on deep learning, computer vision, or building large language models (LLMs), you've probably come across PyTorch. But\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/05\/Add-bootstrap-logo.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/05\/Add-bootstrap-logo.png 1x, \/wp-content\/uploads\/2025\/05\/Add-bootstrap-logo.png 1.5x, \/wp-content\/uploads\/2025\/05\/Add-bootstrap-logo.png 2x, \/wp-content\/uploads\/2025\/05\/Add-bootstrap-logo.png 3x, \/wp-content\/uploads\/2025\/05\/Add-bootstrap-logo.png 4x"},"classes":[]},{"id":56794,"url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/11\/16\/flag-protected-text-with-azure-ai-content-safety\/","url_meta":{"origin":53846,"position":5},"title":"Flag Protected Text with Azure AI Content Safety","author":"CPI Staff","date":"November 16, 2025","format":false,"excerpt":"Learn how to use Azure AI Content Safety to detect and flag sensitive or protected text in your applications without slowing teams down or over-blocking legitimate content.","rel":"","context":"In &quot;Azure AI Services&quot;","block_context":{"text":"Azure AI Services","link":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/category\/azure-ai-services\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 1x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 1.5x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 2x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 3x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/53846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/comments?post=53846"}],"version-history":[{"count":2,"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/53846\/revisions"}],"predecessor-version":[{"id":53862,"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/53846\/revisions\/53862"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/media\/53853"}],"wp:attachment":[{"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/media?parent=53846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/categories?post=53846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/tags?post=53846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}