An open API service indexing awesome lists of open source software.

https://github.com/Azure-Samples/azure-ai

A hub with a curated awesome list of all Azure AI samples
https://github.com/Azure-Samples/azure-ai

Last synced: 6 months ago
JSON representation

A hub with a curated awesome list of all Azure AI samples

Awesome Lists containing this project

README

        

# Azure AI Hub
Welcome to a hub for the Azure AI developer community! This readme includes links to a curated list of the official Microsoft SDKs, Samples and other guidance around Azure OpenAI and other Cognitive Services. The [Discussions](https://github.com/Azure-Samples/azure-ai/discussions) tab is an opportunity for you to talk directly to the Microsoft Product teams working on Azure AI and share/learn from other developers like yourself.

## Table of Contents βœ¨πŸ†•

- [Azure AI Reference Templates](#azure-ai-reference-templates)πŸ†•

- [Getting started with Azure OpenAI ChatGPT Copilots in Python, .NET/C#, JavaScript/TypeScript and Java](#getting-started-with-azure-openai-chatgpt-copilots)

- [Azure OpenAI ChatGPT Copilots With Your Own Data using Cognitive Search, MongoDB, Redis or PostgreSQL](#azure-openai-chatgpt-copilots-with-your-own-data)✨

- [Azure OpenAI for Python Developers](#openai-for-python-developers)✨

- [Azure OpenAI for .NET/C# Developers](#openai-for-net-developers)✨

- [Azure OpenAI for JavaScript/TypeScript Developers](#openai-for-javascript-developers)πŸ†•

- [Azure OpenAI for Java Developers](#openai-for-java-developers)πŸ†•

- [Azure OpenAI for Go Developers](#openai-for-go-developers)πŸ†•

- [Secure your Azure AI Resources](#secure-your-azure-ai-resources)✨

- [Create and manage Azure AI Resources with code](#create-and-manage-azure-ai-resources-with-code)✨

- [Speech/Vision](#speechvision)

- [Language](#language)

- [Applied AI/Decision](#applied-aidecision)

## Azure AI Reference Templatesβœ¨πŸ†•
- [Build an enterprise chat app using your data with Azure OpenAI in Python](https://aka.ms/azai/py/chatwithdata)✨

- [Build an enterprise chat app using your data with Azure OpenAI in JavaScript](https://aka.ms/azai/js/chatwithdata)✨

- [Build an enterprise chat app using your data with Azure OpenAI in .NET](https://aka.ms/azai/net/chatwithdata)✨

- [Build an enterprise chat app using your data with Azure OpenAI in Java](https://aka.ms/azai/java/chatwithdata)✨

- [Build a chat app with Azure OpenAI in Python](https://aka.ms/azai/chat)✨

- [Build a LangChain with Azure OpenAI in Python](https://aka.ms/azai/lc)✨

- [Build a ChatGPT Plugin with Azure Container Apps in Python](https://aka.ms/azai/plugin)✨

## Getting started with Azure OpenAI ChatGPT Copilots

- [Simple Azure OpenAI ChatGPT Copilot in Python](https://aka.ms/azai/chat)πŸ†•

- [Simple ChatGPT Python Plugin App Authoring](https://aka.ms/azai/plugin)πŸ†•

- [ChatGPT QuickStarts for Python, C#, JavaScript and Java](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?pivots=programming-language-csharp&tabs=command-line)πŸ†•

- [Switch from OpenAI to Azure OpenAI](https://aka.ms/azai/oai-to-aoai)✨

- [ChatGPT .NET App with chats saved to CosmosDB](https://github.com/Azure-Samples/cosmosdb-chatgpt)πŸ†•

- [ChatGPT Python App with Azure Functions using LangChain](https://github.com/Azure-Samples/function-python-ai-langchain)πŸ†•

- [More Azure OpenAI Service Docs](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/)

## Azure OpenAI ChatGPT Copilots with your own data
- [ChatGPT JavaScript Copilot with your own data using Cognitive Search](https://github.com/Azure-Samples/azure-search-openai-javascript)✨

- [ChatGPT Python Copilot with your own data using Cognitive Search](https://aka.ms/azai/chatwithdata)

- [ChatGPT .NET Copilot with your own data using Cognitive Search](https://aka.ms/azai/dotnet/chatwithdata)πŸ†•

- [ChatGPT .NET Copilot with your own data using MongoDB](https://github.com/AzureCosmosDB/VectorSearchAiAssistant/tree/MongovCore). ([Blog](https://devblogs.microsoft.com/cosmosdb/introducing-vector-search-in-azure-cosmos-db-for-mongodb-vcore/))

- [OpenAI Python ChatGPT Web App with batch processing on your own data using Redis](https://github.com/ruoccofabrizio/azure-open-ai-embeddings-qna#deploy-on-azure-webapp--azure-cache-for-redis-enterprise--batch-processing)

- [Code behind ChatGPT Web App from uploading your data to the Azure OpenAI Playground](https://aka.ms/azai/chat-from-aoai)πŸ†•

- [OpenAI Python Notebook with your own data using Redis with LlamaIndex](https://techcommunity.microsoft.com/t5/azure-developer-community-blog/vector-similarity-search-with-azure-cache-for-redis-enterprise/ba-p/3822059)

- [OpenAI solutions with your own data using PostgreSQL](https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/unlocking-the-power-of-open-ai-and-pgvector-with-azure/ba-p/3828539)

## OpenAI for Python Developers

- [OpenAI SDK for Python](https://github.com/openai/openai-python/blob/main/README.md)

- [openai Python Package](https://pypi.org/project/openai/)

- [Completions](https://github.com/openai/openai-cookbook/blob/main/examples/azure/completions.ipynb)

- [Streaming Chat completions](https://github.com/openai/openai-cookbook/blob/main/examples/azure/chat.ipynb)

- [Switch from OpenAI to Azure OpenAI](https://aka.ms/azai/oai-to-aoai)✨

- [ChatGPT Python App](https://aka.ms/azai/chat)πŸ†•

- [ChatGPT Python Plugin App Authoring](https://aka.ms/azai/plugin)πŸ†•

- [ChatGPT Python App with your own data](https://aka.ms/azai/chatwithdata)✨

- [Azure AI Content Safety SDK for Python](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/contentsafety/azure-ai-contentsafety)πŸ†•

- [Azure companion for Python experiment](https://github.com/johanste/easyaz)

- [Vector Embeddings based Q&A App](https://github.com/ruoccofabrizio/azure-open-ai-embeddings-qna)

- [Use Speech to converse with OpenAI](https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/openai-speech?tabs=windows)

- [Deploy a model and generate text](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/quickstart?pivots=programming-language-python)

- [Embeddings](https://github.com/openai/openai-cookbook/blob/main/examples/azure/embeddings.ipynb)

- [Finetuning](https://github.com/openai/openai-cookbook/blob/main/examples/azure/finetuning.ipynb)

- [More Samples](https://github.com/Azure-Samples/openai/blob/main/README.md)

## OpenAI for .NET Developers

- [Azure OpenAI SDK for .NET](https://aka.ms/oai/net/sdk)✨

- [Azure.AI.OpenAI NuGet package](https://aka.ms/oai/net/nuget)✨

- [Completions](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample01_Chatbot.cs)

- [Streaming Chat Completions](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample04_StreamingChat.cs)✨

- [Summarize Text](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample03_SummarizeText.cs)

- [ChatGPT .NET App with your own data](https://aka.ms/azai/dotnet/chatwithdata)πŸ†•

- [ChatGPT .NET App with chats saved to CosmosDB](https://github.com/Azure-Samples/cosmosdb-chatgpt)πŸ†•

- [MAUI chat app example](https://github.com/jpalvarezl/WhatsForDinner)

- [More Samples](https://github.com/Azure-Samples/openai-dotnet-samples/blob/main/README.md)

## OpenAI for JavaScript Developers

- [Azure OpenAI SDK for JavaScript](https://aka.ms/oai/js/sdk)πŸ†•

- [@azure/openai npm package](https://aka.ms/oai/js/npm)πŸ†•

- [Completions](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v1-beta/javascript/completions.js)πŸ†•

- [Streaming Chat Completions](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v1-beta/javascript/chatCompletions.js)πŸ†•

- [More Samples](https://aka.ms/oai/js/samples)πŸ†•

## OpenAI for Java Developers

- [Azure OpenAI SDK for Java](https://aka.ms/oai/java/sdk)πŸ†•

- [azure.ai.openai maven package](https://aka.ms/oai/java/maven)πŸ†•

- [Completions](https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai_1.0.0-beta.1/sdk/openai/azure-ai-openai/src/samples/java/com/azure/ai/openai/ChatbotSample.java)πŸ†•

- [Streaming Chat Completions](https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai_1.0.0-beta.1/sdk/openai/azure-ai-openai/src/samples/java/com/azure/ai/openai/StreamingChatSample.java)πŸ†•

- [Spring Samples](https://aka.ms/azai/spring)πŸ†•

- [More Samples](https://aka.ms/oai/java/samples)πŸ†•

## OpenAI for Go Developers

- [Azure OpenAI SDK for Go](https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/ai/azopenai)

- [Package (pkg.go.dev)](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai)

- [ChatCompletions](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai#example-Client.GetChatCompletions)

- [ChatCompletions using Functions](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai#example-Client.GetChatCompletions-Functions)

- [Streaming Chat Completions](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai#example-Client.GetChatCompletionsStream)

- [Image generation](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai#example-Client.CreateImage)

- [Embeddings](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai#example-Client.GetEmbeddings)

- [Other examples](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai#pkg-examples)

## Create and manage Azure AI Resources with code

- [Azure Developer CLI](https://azure.github.io/awesome-azd/?tags=ai)

- [Azure CLI](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource)

- [Bicep](https://learn.microsoft.com/en-us/azure/cognitive-services/create-account-bicep?tabs=CLI)

- [Terraform](https://registry.terraform.io/modules/Azure/openai/azurerm/latest)

- [Python](https://learn.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-python)

- [.NET/C#](https://learn.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-csharp)

- [JavaScript/TypeScript](https://learn.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-javascript)

- [Java](https://learn.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-java)

## Secure your Azure AI Resources

- [OpenAI with Azure Active Directory Role based access control](https://learn.microsoft.com/en-us/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-azure-active-directory)

- [OpenAI with Managed Identities](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/managed-identity)

## Speech/Vision

- [Use Speech to converse with OpenAI](https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/openai-speech?tabs=windows)

- [Captioning and Call Center Transcription in Python, .NET, JavaScript, Java, C++ and GoΒ ](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/scenarios)

- Integrate Speech into your apps with [Speech SDK Samples in Python, .NET, JavaScript, Java, C++ and other languages](https://learn.microsoft.com/en-us/samples/azure-samples/cognitive-services-speech-sdk/sample-repository-for-the-microsoft-cognitive-services-speech-sdk/)

- [Analyze images in Python, .NET and C++](https://learn.microsoft.com/en-us/samples/azure-samples/azure-ai-vision-sdk/azure-ai-vision-sdk-preview-samples/)

## Language

- Extract, classify, and understand text within documents using Text Analytics in [Python](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-python/textanalytics-samples/) , [.NET](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-net/azure-cognitive-services-text-analytics-client-library-for-net/) , [TypeScript](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-js/ai-language-text-typescript-beta/) , [JavaScript](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-js/ai-language-text-javascript-beta/) and [Java](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-java/textanalytics-java-samples/)

- Document Translation in [Python](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-python/documenttranslation-samples/), [.NET](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-net/azure-document-translation-client-sdk-samples/), [TypeScript](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-js/ai-document-translator-typescript/), [JavaScript](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-js/ai-document-translator-javascript/) And [Java](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-java/documenttranslator-java-samples/)

- Translate documents from and into more than 100 different languages using [**Document Translation sample apps**](https://github.com/MicrosoftTranslator/DocumentTranslation)

- Question Answering in [Python](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-python/languagequestionanswering-samples/) and [.NET](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-net/azureailanguagequestionanswering-samples/)

- Conversational Language Understanding in [Python](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-python/conversationslanguageunderstanding-samples/) and [.NET](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-net/azureailanguageconversations-samples/)

## Applied AI/Decision

- [Azure Form Recognizer SDKs for .NET/C#, Python, JavaScript/TypeScript and Java](https://learn.microsoft.com/en-us/azure/applied-ai-services/form-recognizer/sdk-preview?view=form-recog-3.0.0&tabs=csharp)

- Extract structured data from forms, receipts, invoices, and cards using Form Recognizer in [Python](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md#samples-for-azure-form-recognizer-client-library-for-python), [.NET](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/formrecognizer/Azure.AI.FormRecognizer/samples/README.md#common-scenarios-samples-for-client-library-version-400), [TypeScript](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v4/typescript/README.md#azure-form-recognizer-client-library-samples-for-typescript), [JavaScript](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v4/javascript/README.md#azure-form-recognizer-client-library-samples-for-javascript), and [Java](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/formrecognizer/azure-ai-formrecognizer/src/samples/README.md#azure-form-recognizer-client-library-samples-for-java)

- Use Form Recognizer to automate a paper based process using the [New patient registration with Form Recognizer workshop](https://newpatiente2e.github.io/docs/). ([Code](https://github.com/newpatiente2e/Contoso-New-Patient-App))

- Metrics Advisor SDK samples in [Python](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-python/metricsadvisor-samples/), [.NET](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-net/azure-metrics-advisor-client-sdk-samples/), [TypeScript](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-js/ai-metrics-advisor-typescript/), [JavaScript](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-js/ai-metrics-advisor-javascript/) and [Java](https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-java/metricsadvisor-java-samples/)

- Multi-variate Anomaly Detector in [Python](https://github.com/Azure-Samples/AnomalyDetector/blob/master/samples-multivariate/sample_multivariate_detect.py), [.NET](https://github.com/Azure-Samples/AnomalyDetector/blob/master/samples-multivariate/Sample_multivaraiate_detect.cs) , [Javascript](https://github.com/Azure-Samples/AnomalyDetector/blob/master/samples-multivariate/sample_multivariate_detection.js) and [JavaΒ ](https://github.com/Azure-Samples/AnomalyDetector/blob/master/samples-multivariate/MultivariateSample.java)