> For the complete documentation index, see [llms.txt](https://azure.kasinathanramesh.vip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://azure.kasinathanramesh.vip/azure-ai-search/azure-open-ai-setup-azure-ai-search-solution.md).

# Azure Open AI: Setup Azure AI Search Solution

Azure Open AI, focusing on harnessing Azure AI Search for document indexing and enrichment

The Microsoft team has recently launched an Open AI challenge, in which a developer can learn how to build Azure AI solutions and apps.

#### Introduction

The article demonstrates how to use Azure AI Search to develop a solution where documents undergo indexing and enrichment through AI skills, enhancing their searchability.

#### Why Azure AI search?

Azure AI Search leverages advanced AI and machine learning to enrich indexing and search capabilities. It can automatically understand the content within documents, images, and other media types, extracting valuable information, identifying patterns, and even understanding sentiments. These capabilities allow for more nuanced and intelligent search results.

#### Prerequisite

* Experience working with Azure and Azure portals.
* An understanding of generative AI.
* Experience in one high-level programming language like C# or Python

#### Getting Started

Before starting the actual implementation, 3 different Azure resources need to be set up before moving forward.

* Setup Azure AI Search
* Setup Azure AI Service
* Setup Azure Storage Account

> Important: Your Azure AI Search and Azure AI Services resources must be in the same location!

Once the above prerequisites are completed, you need to perform the following steps in the Azure Portal

* Upload documents to Azure Blob Storage
* Index the documents
* Testing

#### Setup Azure AI Search

#### Step 1: Navigate to the Azure Portal

Search for Azure AI Search and fill out the following details

<figure><img src="/files/StkAwdOKG0IXKKuJMvz1" alt=""><figcaption></figcaption></figure>

#### Step 2: Scaling Configuration

Since I am using the free pricing tier, I cannot add scaling capabilities or create replicas as shown below

<figure><img src="/files/w4ngIr4NAbDzlR0ZMV5O" alt=""><figcaption></figcaption></figure>

#### Step 3: Create tags

For this exercise tag names are not required. But in a production environment, it should be added as it’s a best practice

<figure><img src="/files/bNUXsRZaiKdRf7lEbJpo" alt=""><figcaption></figcaption></figure>

#### Step 4: Review & Create

Post validation checks by Azure Cloud and proceed with creating the resource. Make sure you review the details entered in the previous steps.

<figure><img src="/files/0lHT5pjfs2VooxXYaTLY" alt=""><figcaption></figcaption></figure>

#### Setup Azure AI Service

#### Step 1: Create Azure AI Service

Now let's create another service, that searches for **Azure AI Service** and fills out the following details

<figure><img src="/files/do5wQZnFrzQr2TG5tSpe" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/piGGLwJLQajkB7qtYOZG" alt=""><figcaption></figcaption></figure>

Now, continue with the remaining steps as default options are selected, create the service and finally wait for the service to be deployed.

<figure><img src="/files/qS5AYOMZ9oPTvF4aOBGB" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7DWP2RdTWJTGnFglUjdV" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JBdmKqT7qwQ74DN6Sq0c" alt=""><figcaption></figcaption></figure>

#### Setup Azure Storage Account

#### Step 1: Create an Azure Storage Account

Now let’s create another service, that searches for Azure Storage Account and fills out the following details

<figure><img src="/files/oWQFty3ZFWh3XrxopWsx" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/NDG55xRlbfKln8xClFGT" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/O4w6timbnKJ5dAZGnlgc" alt=""><figcaption></figcaption></figure>

#### Step 2: Allow anonymous access

In the Advanced tab, check the box next to Allow enabling anonymous access on individual container

<figure><img src="/files/sChyD0OkMSE4u6S0QvK4" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/vPzspSXuEI5lSHdnxfXT" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/iohdYtY6CtwqfNzs7t1T" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/VYA31eWM6HWAiNnLGc85" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/qxT2J1ZBd1y5JOmMV2l6" alt=""><figcaption></figcaption></figure>

#### Step 3: Review & Create

Now, continue with the remaining steps as default options are selected, create the service and finally wait for the service to be deployed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://azure.kasinathanramesh.vip/azure-ai-search/azure-open-ai-setup-azure-ai-search-solution.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
