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:
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.