Azure AI Studio | Add data from AI Search

misc981 61 Reputation points
2024-06-26T05:10:14.5033333+00:00

Working with Azure AI Studio, and trying to 'Add data' to a deployment.

I am either the owner/creator, or at the very least Contributor to all resources described below.

Manually created AI Search service (and associated index/indexer) and blob storage in Azure portal. Uploaded my data into blob storage.

From AI Studio, created a hub. During hub creation, I select the AI Search resource created earlier from a dropdown list. AI Studio automatically creates a new storage resource, I assume, for the hub. It also creates an AI Search connection, but name is different from the connection specified earlier. I assume this is only a logical name for the connection created within AI Studio, I do not see any actual new AI Search resource by that name in Azure Portal. Regardless, I manually add a new AI Search connection, and AI Studio auto-detects the existing connection in Azure Portal, which I select.

Issue starts here. I create a chatgpt deployment and try to add my own data from playground. AI Search specified as source. AI Studio presents 2 dropdowns for AI Search and Index selection. The resources I have selected automatically appear for selection. After that, it asks for index name. I assume this is the 'project index'. I try adding the data, and am presented with an error page, with that robot image, citing what I assume to be permission issue. Now, whenever I try to enter playground with that deployment, I receive the same error page.

I create a new deployment and try the same operation again. I am not able to reuse the 'project index', have to specify a new one. Otherwise, everything remains the same. Operation is actually 'successful', I do not get the error page described earlier. However, when I try to type anything in chat, I receive error 404. Invalid AzureCognitiveSearch configuration detected. No index with name <project index> was found in the service... Not sure if it's multiple errors, or all describing the same issue. Tried again using the AI Search connection automatically created by the hub (with the different name), similar result.

Not sure where to go from here. Is the process I am using to add data correct? Is there some permission I'm missing? As described above, I'm owner/contributor to all the resources specified. Checked permissions wherever I could, failed to identify any issue.

Please advise.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,069 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,912 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 26,571 Reputation points
    2024-07-03T13:59:03.7833333+00:00

    When you create a hub in Azure AI Studio, it automatically creates some resources like storage and possibly an AI Search connection for internal use. This might not be immediately visible in your Azure portal as a standalone resource.

    As you mentioned manually adding an AI Search connection later you may need to verify if this connection is correctly configured and pointing to the correct Azure Cognitive Search service and index in your Azure portal.

    Permissions are critical. Even though you're the owner or contributor, ensure that your permissions are correctly set at both the Azure AI Studio level and the Azure portal level for AI Search and other related resources (like blob storage where your data resides).

    Also it seems like there might be confusion or inconsistency in index naming. Check when you create a deployment and specify the index, you are using the correct index name exactly as it appears in your Azure Cognitive Search service.

    If you're creating multiple deployments and encountering errors related to index not found (404 errors), it could be due to incorrect index names specified during deployment setup.

    0 comments No comments

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.