Skip to content

Commit 6f1e327

Browse files
Merge pull request #270282 from wangyuantao/yuantw/ts
Azure OpenAI On Your Data - Do not use IP Rules
2 parents 3e58009 + 6222a01 commit 6f1e327

File tree

1 file changed

+4
-38
lines changed

1 file changed

+4
-38
lines changed

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

Lines changed: 4 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ When using the API, pass the `filter` parameter in each API request. For example
105105

106106
## Resources configuration
107107

108-
Use the following sections to configure your resources for optimal secure usage. Even if you plan to only secure part of your resources, you still need to follow all the steps below.
108+
Use the following sections to configure your resources for optimal secure usage. Even if you plan to only secure part of your resources, you still need to follow all the steps below.
109+
110+
This article describes network settings related to disabling public network for Azure OpenAI resources, Azure AI search resources, and storage accounts. Using selected networks with IP rules is not supported, because the services' IP addresses are dynamic.
109111

110112
## Create resource group
111113

@@ -372,40 +374,4 @@ curl -i -X GET https://my-resource.openai.azure.com/openai/extensions/on-your-da
372374

373375
### Inference API
374376

375-
See the [inference API reference article](/azure/ai-services/openai/reference#completions-extensions) for details on the request and response objects used by the inference API.
376-
377-
More notes:
378-
379-
* **Do not** set `dataSources[0].parameters.key`. The service uses system assigned managed identity to authenticate the Azure AI Search.
380-
* **Do not** set `embeddingEndpoint` or `embeddingKey`. Instead, to enable vector search (with `queryType` set properly), use `embeddingDeploymentName`.
381-
382-
Example:
383-
384-
```bash
385-
accessToken=$(az account get-access-token --resource https://cognitiveservices.azure.com/ --query "accessToken" --output tsv)
386-
curl -i -X POST https://my-resource.openai.azure.com/openai/deployments/turbo/extensions/chat/completions?api-version=2023-10-01-preview \
387-
-H "Content-Type: application/json" \
388-
-H "Authorization: Bearer $accessToken" \
389-
-d \
390-
'
391-
{
392-
"dataSources": [
393-
{
394-
"type": "AzureCognitiveSearch",
395-
"parameters": {
396-
"endpoint": "https://my-search-service.search.windows.net",
397-
"indexName": "my-index",
398-
"queryType": "vector",
399-
"embeddingDeploymentName": "ada"
400-
}
401-
}
402-
],
403-
"messages": [
404-
{
405-
"role": "user",
406-
"content": "Who is the primary DRI for QnA v2 Authoring service?"
407-
}
408-
]
409-
}
410-
'
411-
```
377+
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)