@Abe Tatsuya at COM2 When you create a private endpoint for your Azure OpenAI and Azure Cognitive Search services, you can restrict network access to only the resources that are connected to the same virtual network. This can help improve the security of your resources by preventing unauthorized access from the public internet.
However, when you restrict network access to only the virtual network, you may encounter issues when trying to upload data to your search index from the Azure OpenAI Studio chat playground. This is because the chat playground is a public endpoint that is not connected to your virtual network.
To upload data to your search index while restricting network access to only the virtual network, you can use the Azure Storage Explorer tool. Here are the steps to upload data using Azure Storage Explorer:
- Install Azure Storage Explorer on your local machine.
- Open Azure Storage Explorer and sign in to your Azure account.
- Navigate to your storage account and select the container where you want to upload the data.
- Drag and drop the files you want to upload into the container.
- Wait for the files to finish uploading.
- In the Azure OpenAI Studio chat playground, select "Add Data (Preview)".
- Select "Upload files" as a data source.
- Select the storage account where you uploaded the files.
- Select the search service where you want to create the index.
- Enter other required information and click "Next".
- Select the files you want to index and click "Next".
- Select the fields you want to use for keyword extraction and click "Next".
- Click "Save and Close".
By using Azure Storage Explorer to upload the files, you can bypass the network restrictions and upload the files to your storage account. Then, you can use the Azure OpenAI Studio chat playground to create the search index and index the files from your storage account.