Skip to content

passadis/sentiment-analysis-durable

Repository files navigation

Azure AI Language: Sentiment Analysis with Durable Functions

Introduction

This repository explores the integration of Azure Durable Functions with Azure AI Language services for Sentiment Analysis. Our focus is on utilizing Durable Functions, a powerful orchestration mechanism within the Azure Functions framework, to enhance the coding experience and build efficient, serverless solutions.

Prerequisites

  • Code Editor: We are using VSCode for our development, with Azure Functions Core Tools.

  • There are currently four durable function types in Azure Functions: activity, orchestrator, entity, and client. In our deployment we are using:

    • Function 1 – HTTP Trigger (Client-Starter Function): Receives text input from the frontend and starts the orchestrator.
    • Function 2 – Orchestrator Function: Orchestrates the sentiment analysis workflow.
    • Function 3 – Activity Function: Calls Azure Cognitive Services Text Analytics API to analyze sentiment.
    • Function 4 – Activity Function: Stores results into Azure Table Storage.

Deployment

Follow the Blog for Detailed Instructions: For step-by-step guidance, visit Azure AI Language: Sentiment Analysis with Durable Functions.

Architecture

durable-ai-arch