/azure-ai-services-webapp

This repository contains code designed to faciliate your experimentation and epxloration with the Azure AI Services such as Azure AI Language, Azure AI Speech, Azure AI Translator, and etc...

Primary LanguageHTML

Azure AI Services Web App

This repository contains code designed to faciliate your experimentation and epxloration with the Azure AI Services such as Azure AI Language, Azure AI Speech, Azure AI Translator, and etc...

Azure AI services help developers and organizations rapidly create intelligent, cutting-edge, market-ready, and responsible applications with out-of-the-box and pre-built and customizable APIs and models. Example applications include natural language processing for conversations, search, monitoring, translation, speech, vision, and decision-making.

Most Azure AI services are available through REST APIs and client library SDKs in popular development languages. For more information, see each service's documentation.

Exploring the Wonderful World of AI with Azure AI Services

image
image

Getting Started

Follow the steps below to set up your environment and start utilizing the features of this repository:

Prerequisites

  • Python (>= 3.8)
  • Visual Studio Code

Installation

  1. Clone this repository to your local machine.
git clone https://github.com/VincentK16/azure-ai-services-webapp.git
  1. Navigate to the project directory.
cd azure-ai-services-webapp
  1. Create a virtual environment.
python3 -m venv <name_of_your_env>
  1. Activate the virtual environment.
  • On Windows:
<name_of_your_env>\Scripts\activate
  • On macOS/Linux:
source <name_of_your_env>/bin/activate
  1. Install project dependencies from the requirements.txt file.
pip install -r requirements.txt
  1. Create a .env file in the root directory of your project to store sensitive information such as the Azure OpenAI resource's keys. You can find a sample .env file in the repository called .env_sample. Duplicate this file and rename it to .env, then fill in the necessary values.
cp .env_sample .env

Now, you're ready to use the secrets stored in your .env file securely within your project. Feel free to customize the .env file with your other specific secrets and configurations as needed.

Note: Never share your .env file publicly or commit it to version control systems like Git, as it contains sensitive information. The best practice is to use a .gitignore file in your repo to avoid commiting the .env file.