Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/azure-ai-foundry-whatsapp-bot
WhatsApp Bot built with Azure Functions and Azure AI Foundry, using Python.
https://github.com/microsoft/azure-ai-foundry-whatsapp-bot
azure-ai-foundry azure-functions azure-openai python whatsapp-api whatsapp-bot whisper
Last synced: about 2 months ago
JSON representation
WhatsApp Bot built with Azure Functions and Azure AI Foundry, using Python.
- Host: GitHub
- URL: https://github.com/microsoft/azure-ai-foundry-whatsapp-bot
- Owner: microsoft
- License: mit
- Created: 2024-11-27T12:59:23.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T13:07:38.000Z (about 2 months ago)
- Last Synced: 2024-11-27T13:41:30.212Z (about 2 months ago)
- Topics: azure-ai-foundry, azure-functions, azure-openai, python, whatsapp-api, whatsapp-bot, whisper
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# Azure AI Foundry Whatsapp Bot
## Overview
This GitHub repository walks you through creating a WhatsApp Bot built with Azure Functions and Azure AI Foundry, using Python.## Architecture
![Architecture](img/architecture.png)
- A user gets a voice message. He/She then forwards the message to the WhatsApp Business number.
- WhatsApp Business app gets the message and sends it to the Azure Functions using a Webhook.
- Azure Functions gets the message. If is is a voice messsage, then call `client.audio.transcriptions.create` Python API to invoke Azure OpenAI Whsiper model, deployed in Azure AI Foundry.
- Transcribed text is returned from Azure OpenAI Whsiper model to Azure Function, and from the to the WhatsApp Business app.## Prerequisites
- Azure Subscription with permissions to create the following Azure resources: Resource Groups, Storage Accounts, Function Apps, and AI Foundry (formerly named AI Studio).
- A Meta for Developers account — If you don’t have one, you can create a Meta for Developers account [here](https://developers.facebook.com/).
- Basic Python knowledge is required to follow this tutorial.## Instructions
- Quickstart: Create a Python function in Azure from the command line - refer to [Documentation](https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-python)