Skip to content

Commit d9016c2

Browse files
committed
removing section
1 parent c9617a6 commit d9016c2

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

articles/ai-services/openai/how-to/use-your-data-securely.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -334,47 +334,8 @@ Make sure your sign-in credential has `Cognitive Services OpenAI Contributor` ro
334334

335335
### Ingestion API
336336

337-
338337
See the [ingestion API reference article](/rest/api/azureopenai/ingestion-jobs?context=/azure/ai-services/openai/context/context) for details on the request and response objects used by the ingestion API.
339338

340-
More notes:
341-
342-
* `JOB_NAME` in the API path will be used as the index name in Azure AI Search.
343-
* Use the `Authorization` header rather than api-key.
344-
* Explicitly set `storageEndpoint` header.
345-
* Use `ResourceId=` format for `storageConnectionString` header, so Azure OpenAI and Azure AI Search use managed identity to authenticate the storage account, which is required to bypass network restrictions.
346-
* **Do not** set the `searchServiceAdminKey` header. The system-assigned identity of the Azure OpenAI resource is used to authenticate Azure AI Search.
347-
* **Do not** set `embeddingEndpoint` or `embeddingKey`. Instead, use the `embeddingDeploymentName` header to enable text vectorization.
348-
349-
350-
**Submit job example**
351-
352-
```bash
353-
accessToken=$(az account get-access-token --resource https://cognitiveservices.azure.com/ --query "accessToken" --output tsv)
354-
curl -i -X PUT https://my-resource.openai.azure.com/openai/extensions/on-your-data/ingestion-jobs/vpn1025a?api-version=2023-10-01-preview \
355-
-H "Content-Type: application/json" \
356-
-H "Authorization: Bearer $accessToken" \
357-
-H "storageEndpoint: https://mystorage.blob.core.windows.net/" \
358-
-H "storageConnectionString: ResourceId=/subscriptions/1234567-abcd-1234-5678-1234abcd/resourceGroups/my-resource/providers/Microsoft.Storage/storageAccounts/mystorage" \
359-
-H "storageContainer: my-container" \
360-
-H "searchServiceEndpoint: https://mysearch.search.windows.net" \
361-
-H "embeddingDeploymentName: ada" \
362-
-d \
363-
'
364-
{
365-
}
366-
'
367-
```
368-
369-
**Get job status example**
370-
371-
```bash
372-
accessToken=$(az account get-access-token --resource https://cognitiveservices.azure.com/ --query "accessToken" --output tsv)
373-
curl -i -X GET https://my-resource.openai.azure.com/openai/extensions/on-your-data/ingestion-jobs/abc1234?api-version=2023-10-01-preview \
374-
-H "Content-Type: application/json" \
375-
-H "Authorization: Bearer $accessToken"
376-
```
377-
378339
### Inference API
379340

380341
See the [inference API reference article](../references/on-your-data.md) for details on the request and response objects used by the inference API.

0 commit comments

Comments
 (0)