Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.08 KB

README.md

File metadata and controls

19 lines (11 loc) · 1.08 KB

azure-ai-services-demo

This repository provides sample Python code for making REST calls to the Language Service API for Azure AI Services. Please refer to this Medium article for a more detailed explanation.

Prerequisites

Python 3.8 or later

python-dotenv library

Azure Language Service configured in Azure

Setup

  • Clone the repo: git clone https://github.com/doitintl/azure-ai-services-demo.git
  • Install library for reading environment variables file .env: pip install python-dotenv
  • Modify .env file to use your Azure Language Service Key and Endpoint.
  • Execute one of the python files where you will be prompted to provide text to be analyzed: python <filename>