Since I’ve been working with Azure OpenAI Service from a developer perspective as well, I’ve decided to build a sample application to help demonstrate not just the IaC deployment of Azure OpenAI Service and GPT models, but also to demonstrate some basic use cases of integrating AI into your own enterprise applications.

Here’s a screenshot of the Build5Nines/AIChatUI sample application:

Build5Nines/AIChatUI sample app screenshot

As you’ll see within the Build5Nines/AIChatUI GitHub project, the sample application UI is built as a static HTML page to keep it simple as possible for now. Also, the sample API backend is written with Node.js and includes two versions of the sample API implementation.

  • API v1 – Is a basic implementation of integrating Azure OpenAI Service to perform chat completions with either GPT-35-turbo or GPT-4
  • API v2 – Is an expanded implementation of integrating both Azure OpenAI Service  with GPT-4, and Azure AI Search service to the chat completion experience to incorporate your own enterprise data

These are the two implementations I’ve built into the project for now, and plan to expand this project out a bit more over time.

On the IaC and infrastructure deployment side of things, the project includes Azure Bicep, ARM Template, and HashiCorp Terraform templates for provisioning the Azure OpenAI Service, Azure AI Search, and GPT models. The IaC is also organized in v1 and v2 samples that apply to the UI/API v1 and v2 samples.

Chris Pietschmann is a Microsoft MVP, HashiCorp Ambassador, and Microsoft Certified Trainer (MCT) with 20+ years of experience designing and building Cloud & Enterprise systems. He has worked with companies of all sizes from startups to large enterprises. He has a passion for technology and sharing what he learns with others to help enable them to learn faster and be more productive.
Microsoft MVP HashiCorp Ambassador

Discover more from Build5Nines

Subscribe now to keep reading and get access to the full archive.

Continue reading