Share via

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.

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform

0 comments No comments

1 answer

Sort by: Most helpful
  1. Vikram Singh 2,590 Reputation points Microsoft Employee Moderator
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.