Skip to content

AI assistant designed to guide users in selecting the most cost-effective Azure region and virtual machine types based on up-to-date pricing data, powered with LangChain and GPT-4

Notifications You must be signed in to change notification settings

linjungz/copilot-azure-pricing

Repository files navigation

Copilot for Azure Pricing

The Copilot for Azure Pricing is a demo project created using LangChain and Azure GPT-4. It is designed to provide suggestions on Azure region and virtual machine types based on the latest pricing data and other considerations. This AI-powered agent aims to assist users in making informed decisions when it comes to choosing the most cost-effective options for their Azure deployments.

Demo

Get Started

Follow these steps to get started:

  1. Clone the repository:
git clone https://github.com/linjungz/copilot-azure-pricing.git
  1. Change into the copilot-azure-pricing directory:
cd copilot-azure-pricing
  1. Install the required Python packages:

Create virtual environment:

python3 -m venv .venv
source .venv/bin/activate

Install dependancies:

pip install -r requirements.txt
  1. Configure environment variables

Create a .env file in the root directory and set following environment variables like this:

AZURE_OPENAI_API_KEY=YOUR_API_KEY
AZURE_OPENAI_API_ENDPOINT=YOUR_ENDPOINT
AZURE_OPENAI_API_DEPLOYMENT=YOUR_DEPLOYMENT_NAME
AZURE_OPENAI_API_VERSION=YOUR_API_VERSION

You could refer to the Azure Quickstart Guide or this repo to get the API_KEY, ENDPOINT and DEPLOYMENT NAME.

  1. Run the app
$ streamlit run app.py

About

AI assistant designed to guide users in selecting the most cost-effective Azure region and virtual machine types based on up-to-date pricing data, powered with LangChain and GPT-4

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published