Skip to content

This repo is for code samples of Microsoft Azure-AI Search Azure OpenAI services examples.

License

Notifications You must be signed in to change notification settings

meetrais/Azure-AI-OpenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure-AI ~ OpenAI

Introduction

This GitHub repository demonstrates how to develop Retrieval Augmented Generation(RAG) based chat-bot using Microsoft-Azure OpenAI service. You can refer to code folder of your choice of programming language - Java, Python or Dot Net. Please feel free to reach out to me if you find any bugs or have suggestions for improvement. I strongly recommend to read this documentation before you dive into the code. Happy Azure-AI programming.

Setup Azure AI Services

Request for Azure OpenAI Service access

First thing first, request for Azure Open-AI service access. Don't worry, initially I had a doubt if my request will be approved? however my request got approved in 24 hours.

Request Access to Azure OpenAI Service

Azure Open-AI Service setup

  1. In your Azure Portal account search for Azure OpenAI and then select "Azure OpenAI" service. image

  2. After following step#1 you will see below page. Select "Create Azure OpenAI" button and follow remaining steps. image

  3. Once you created Azure OpenAI service you go to your Azure OpenAI service resource and then select "Go to Azure OpenAI Studio" link. image

  4. Following above link you should bring you to this beautiful page. image

  5. Now select "Deployments" option from left-menu and that should bring to this page. image

  6. Now create deployments by selecting "Create new Deployment" button. If you notice in below image, I created two deployments. First deployment for text-embeddings using OpenAI "text-embedding-ada-002" model and second deployment for chat/chat-completion using "gpt-35-turbo" model.

image

Deep-Dive into Code

Assuming by this time you have your Azure-AI services setup complete and you created model deployments in Azure-OpenAI, lets deep-dive into the code. Please refer to code folder of programming language of your choice above or you can use below link.

Java

Python

Dot Net

About

This repo is for code samples of Microsoft Azure-AI Search Azure OpenAI services examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages