Build an index (remotely) in your Azure AI Foundry project with azure storage as an inout_source

Pavel Bazhutov 0 Reputation points
2025-01-14T22:17:11.09+00:00

Hi there!

I used code from here: https://learn.microsoft.com/en-us/azure/ai-studio/how-to/develop/index-build-consume-sdk to connect to the MLClient and everything. I followed the article and was able to use local source as an input_source.

# Azure Storage
input_source_subscription = "
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,051 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,078 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vikram Singh 655 Reputation points Microsoft Employee
    2025-01-15T05:49:33.1266667+00:00

    Hi @Pavel Bazhutov ,

    Welcome to Microsoft Q&A Forum. It's great to hear you're making progress with your Azure AI Foundry project! To use Azure Storage as an input_source for building an index remotely, you'll need to specify your storage account details, including the input_source_subscription, which refers to your Azure Subscription ID. This ID identifies the subscription associated with the Azure Storage you’re using.

    # Azure Storage
    input_source_subscription = "<Your Subscription ID>"
    

    Be sure to replace the placeholder with your actual Subscription ID to ensure the index build process accesses the correct Azure resources. For more detailed guidance, please refer to the Azure AI Studio documentation.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.