name description languages products page_type urlFragment
Azure AI Search On Your Data
Chat with your data using OpenAI and AI Search.
bicep
azdeveloper
azure-openai
azure-cognitive-search
azure-app-service
azure
sample
azure--ai-search-on-your-data

Azure AI Search On Your Data

Important

As of November 15, 2023, Azure Cognitive Search has been renamed to Azure AI Search.

Project Setup

Open the project in your local VS Code using the Dev Containers extension:

  1. Start Docker Desktop (install it if not already installed)
  2. Open the project
  3. In the VS Code window that opens, once the project files show up (this may take several minutes), open a terminal window
  4. Run azd auth login
  5. Now you can follow the instructions in Deploying from scratch below

Deploying from scratch

Execute the following command, if you don't have any pre-existing Azure services and want to start from a fresh deployment.

  1. Run azd up - This will provision Azure resources and deploy this sample to those resources, including building the search index based on the files found in the ./data folder.
    • Important: Beware that the resources created by this command will incur immediate costs, primarily from the AI Search resource. These resources may accrue costs even if you interrupt the command before it is fully executed. You can run azd down or delete the resources manually to avoid unnecessary spending.
    • You will be prompted to select two locations, one for the majority of resources and one for the OpenAI resource, which is currently a short list. That location list is based on the OpenAI model availability table and may become outdated as availability changes.