Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 3.32 KB

1-introduction.md

File metadata and controls

45 lines (24 loc) · 3.32 KB

👨‍🏫 Tutorial

The original repo and Azure templates are no longer available since the fork. However, I have created a complete tutorial on how to deploy ChatGPT manually. You can find it here.

📘 Prerequisites

  1. Azure OpenAI: To deploy and run ChatGPT on Azure, you'll need an Azure subscription with access to the Azure OpenAI service. Request access here. Once you have access, follow the instructions in this link to deploy the gpt-35-turbo or gpt-4 models.

  2. Setup GitHub or Azure AD for Authentication: The add an identity provider section below shows how to configure authentication providers.

    💡Note: You can configure the authentication provider to your identity solution using NextAuth providers

👋🏻 Introduction

ChatGPT on Azure solution accelerator is built with the following technologies.

Node.js 18: an open-source, cross-platform JavaScript runtime environment.

Next.js 13: enables you to create full-stack web applications by extending the latest React features

NextAuth.js: configurable authentication framework for Next.js 13

LangChain JS: AI orchestration layer to build intelligent apps

ai sdk Open-source library that simplifies building conversational UI on top Next.js and JavaScript

Tailwind CSS: is a utility-first CSS framework that provides a series of predefined classes that can be used to style each element by mixing and matching

shadcn/ui: re-usable components built using Radix UI and Tailwind CSS.

Azure Cosmos DB: fully managed platform-as-a-service (PaaS) NoSQL database to store chat history

Azure App Service: fully managed platform-as-a-service (PaaS) for hosting web applications, REST APIs, and mobile back ends.

Optional Azure

Azure Document Intelligence Microsoft Azure Form Recognizer is an automated data processing system that uses AI and OCR to quickly extract text and structure from documents. We use this service for extracting information from documents.

Azure Cognitive Search Azure Cognitive Search is an AI-powered platform as a service (PaaS) that helps developers build rich search experiences for applications. We use this service for indexing and retrieving information.

Azure OpenAI Embeddings for embed content extracted from files

Next