Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/passadis/sentiment-analysis-durable

Analyze Text with Durable Functions and AI Language
https://github.com/passadis/sentiment-analysis-durable

azure azureai durable-functions language-model sentiment-analysis text-analytics

Last synced: 4 days ago
JSON representation

Analyze Text with Durable Functions and AI Language

Awesome Lists containing this project

README

        





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](https://www.cloudblogger.eu/2024/02/12/azure-ai-language-sentiment-analysis-with-durable-functions/).

## Architecture

![durable-ai-arch](https://github.com/passadis/sentiment-analysis-durable/assets/53148138/c6755c4e-3d5e-4b7a-87d5-fdd318782fe8)