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
- Host: GitHub
- URL: https://github.com/Azure-Samples/azure-ai
- Owner: Azure-Samples
- License: mit
- Created: 2022-12-02T08:29:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T21:23:23.000Z (over 1 year ago)
- Last Synced: 2024-05-02T16:23:33.361Z (about 1 year ago)
- Homepage:
- Size: 130 KB
- Stars: 139
- Watchers: 21
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
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)