How to Create and Use Azure AI Search for RAG

Deepa Saw
2 min readJul 24, 2024

--

Introduction

Azure AI Search is a cloud service that enables you to easily add a rich and intelligent search experience to your applications and websites. With Azure AI Search, you can index and query data from various sources and apply AI capabilities such as natural language processing, computer vision, and machine learning to enhance the relevance and usability of your search results. In this blog post, we will show you how to create and use Azure AI Search with some simple steps and examples.

Step 1: Create an Azure AI Search service

Step 2: Click on Import and vectorize data

Step 3: Fill the data source details from which you would like to import data

Step 4: Provide details of your Azure OpenAI Service and select any text embedding deployment available .

Step 5: In case your Data has images ,you have option to vectorize images and extract text from images.

Step 6: Enable semantic ranker, Semantic ranker uses deep neural networks to provide relevant results and answers based on semantics ,not just lexical analysis.

Select the schedule at which you want the data to be refreshed from the source.

Step 7: Review and create the Indexer.

Step 8 : Click on search explorer and ask your question (you can do the same via API calls)

--

--