Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

Develop AI apps with Python

  • 2025-06-23
Feedback

In this article

This article offers a curated list of top learning resources for Python developers who are new to building AI applications. It includes links to quickstart guides, sample projects, official documentation, training courses, and other helpful materials.

Resources for Azure OpenAI Service

Azure OpenAI Service provides REST API access to the powerful language models available in OpenAI. Azure OpenAI helps you adapt these models to accomplish specific tasks, such as content generation, summarization, image understanding, semantic search, and natural language to code translation. Access Azure OpenAI by using the REST APIs, the Azure OpenAI SDK for .NET, or the web-based interface inAzure OpenAI Studio.

SDKs and libraries

LinkDescription
OpenAI SDK for PythonThe GitHub source code version of the OpenAI Python library, which provides convenient access to the OpenAI API from applications written in the Python language.
OpenAI Python PackageThe PyPi version of the OpenAI Python library.
Switch from OpenAI to Azure OpenAIA guidance article on the small changes you need to make to your code, so you can swap back and forth between OpenAI and the Azure OpenAI Service.
Streaming chat completionsA notebook example that demonstrates how to get chat completions to work by using the Azure endpoints. The example focuses on chat completions, but also introduces other operations available with the API.
Azure embeddingsA notebook example that demonstrates how to use embeddings with Azure endpoints. The example focuses on embeddings, but also introduces other operations available with the API.
Deploy model and generate textAn article with minimal, straightforward detailed steps to deploy a model that can programmatically chat.
OpenAI with Microsoft Entra ID role-based access controlA look at authentication by using Microsoft Entra ID andAzure role-based access control.
OpenAI with Azure AD-managed identities for Azure resourcesAn article with more complex security scenarios that require Azure role-based access control. Explore how to authenticate to your OpenAI resource with Microsoft Entra ID.
Azure OpenAI Service samplesA compilation of useful Azure OpenAI Service resources and code samples to help you get started and accelerate your technology adoption journey.

Documentation

LinkDescription
Azure OpenAI Service documentationThe hub page for Azure OpenAI Service documentation.
Quickstart: Get started generating text with Azure OpenAI ServiceA quickstart that demonstrates how to set up the services you need and write code to prompt a model by using Python.
Quickstart: Get started using GPT-35-Turbo and GPT-4 with Azure OpenAI ServiceA quickstart that demonstrates how to work with system, assistant, and user roles to tailor content in response to certain questions.
Quickstart: Chat with Azure OpenAI models by using your own dataA quickstart that helps you add your own data, such as a PDF or other document.
Quickstart: Get started using Azure OpenAI Assistants (Preview)A quickstart that demonstrates how to instruct a model to use the built-in Python code interpreter to solve math problems step by step. This example provides a starting point to use your own AI assistants accessed through custom instructions.
Quickstart: Use images in your AI chatsA quickstart that shows how to programmatically ask a model to describe the contents of an image.
Quickstart: Generate images with Azure OpenAI ServiceA quickstart that demonstrates how to programmatically generate images by using Dall-E based on a prompt.

Resources for other Azure AI services

In addition to Azure OpenAI Service, there are many other Azure AI services. Developers and organizations can rapidly create intelligent, market-ready, and responsible applications with out-of-the-box and prebuilt customizable APIs and models. Example applications include natural language processing for conversations, search, monitoring, translation, speech, vision, and decision-making.

Samples

LinkDescription
Integrate speech into your apps with Azure AI Speech SDK SamplesSamples for the Azure Cognitive Services Speech SDK. Links to samples for speech recognition, translation, speech synthesis, and more.
Azure AI Document Intelligence SDKAzure AI Document Intelligence (formerly Form Recognizer) is a cloud service that uses machine learning to analyze text and structured data from documents. The Document Intelligence software development kit (SDK) is a set of libraries and tools that enable you to easily integrate Document Intelligence models and capabilities into your applications.
Extract structured data from forms, receipts, invoices, and cards using Form Recognizer in PythonSamples for the Azure.AI.FormRecognizer client library.
Extract, classify, and understand text within documents using Text Analytics in PythonThe client Library for Text Analytics. These APIs are part of theAzure AI Language service, which provides Natural Language Processing (NLP) features for understanding and analyzing text.
Document Translation in PythonA quickstart article that uses Document Translation to translate a source document into a target language while preserving structure and text formatting.
Question answering in PythonA quickstart article with steps to get an answer (and confidence score) from a body of text that you send along with your question.
Conversational Language Understanding in PythonThe client library for Conversational Language Understanding (CLU). CLU is a cloud-based conversational AI service that can extract intents and entities in conversations. CLU acts like an orchestrator to select the best candidate to analyze conversations to get the best response from apps like QnA, Luis, and Conversation App.
Analyze imagesSample code and setup documents for the Microsoft Azure AI Image Analysis SDK.
Azure AI Content Safety SDK for PythonThe SDK can help detect harmful user-generated and AI-generated content in applications and services. Content Safety includes text and image APIs that allow you to detect material that is harmful.

Documentation

AI serviceDescriptionAPI referenceQuickstart
Content SafetyAn AI service that detects unwanted content.Content Safety API referenceQuickstart
Document IntelligenceTurn documents into intelligent data-driven solutions.Document Intelligence API referenceQuickstart
LanguageBuild apps with industry-leading natural language understanding capabilities.Text Analytics API referenceQuickstart
SearchBring AI-powered cloud search to your applications.Search API referenceQuickstart
SpeechSpeech to text, text to speech, translation, and speaker recognition.Speech API referenceQuickstart
TranslatorUse AI-powered translation to translate more than 100 in-use, at-risk and endangered languages and dialects.Translation API referenceQuickstart
VisionAnalyze content in images and videos.Image Analysis API referenceQuickstart

Training

LinkDescription
Generative AI for beginners workshopLearn the fundamentals of building Generative AI apps with our 18-lesson comprehensive course by Microsoft Cloud Advocates.
Get started with Azure AI servicesAzure AI services are building blocks of AI functionality you can integrate into your applications. Complete this learning path to explore how to provision, secure, monitor, and deploy Azure AI services resources and use them to build intelligent solutions.
Microsoft Azure AI Fundamentals: Generative AIComplete this learning path to understand how large language models form the foundation of generative AI. Explore how Azure OpenAI Service provides access to the latest generative AI technology. Learn how Azure OpenAI prompts and responses can be fine-tuned and how Microsoft's responsible AI principles drive ethical AI advancements.
Develop Generative AI solutions with Azure OpenAI ServiceAzure OpenAI Service provides access to OpenAI's powerful large language models such as ChatGPT, GPT, Codex, and Embeddings models. Complete this learning path for developers and explore how to generate code, images, and text by using the Azure OpenAI SDK and other Azure services.
Build AI apps with Azure Database for PostgreSQLComplete this learning path to explore Azure AI and Azure Machine Learning Services integrations provided by the Azure AI extension for Azure Database for PostgreSQL - Flexible Server. Learn how these services can enable you to build AI-powered apps.

AI application templates

AI application templates supply you with well-maintained, easy to deploy reference implementations that provide a high-quality starting point for your AI apps.

There are two categories of AI app templates,building blocks andend-to-end solutions. Building blocks are smaller-scale samples that focus on specific scenarios and tasks. End-to-end solutions are comprehensive reference samples that include documentation, source code, and deployment features. You can build on the solutions and extend them for your own purposes.


Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo