Skip to content

Commit 11dfa93

Browse files
authored
Merge pull request #3037 from MicrosoftDocs/main
2/19/2025 PM Publish
2 parents 2b19980 + b361953 commit 11dfa93

22 files changed

+520
-107
lines changed

articles/ai-services/agents/how-to/tools/bing-grounding.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ Developers and end users don't have access to raw content returned from Groundin
2828
> 1. By creating and using a Grounding with Bing Search resource through code-first experience, such as Azure CLI, or deploying through deployment template, you agree to be bound by and comply with the terms available at https://www.microsoft.com/en-us/bing/apis/grounding-legal, which may be updated from time to time.
2929
> 1. When you use Grounding with Bing Search, your customer data is transferred outside of the Azure compliance boundary to the Grounding with Bing Search service. Grounding with Bing Search is not subject to the same data processing terms (including location of processing) and does not have the same compliance standards and certifications as the Azure AI Agent Service, as described in the [Grounding with Bing Search Terms of Use](https://www.microsoft.com/en-us/bing/apis/grounding-legal). It is your responsibility to assess whether use of Grounding with Bing Search in your agent meets your needs and requirements.
3030
31+
## How Grounding with Bing Search works
32+
33+
The user query is the message that an end user sends to an agent, such as *"should I take an umbrella with me today? I'm in Seattle."* Instructions are the system message a developer can provide to share context and provide instructions to the AI model on how to use various tools or behave.
34+
35+
When a user sends a query, the customer's AI model deployment first processes it (using the provided instructions) to later perform a Bing search query (which is [visible to developers](#how-to-display-grounding-with-bing-search-results)).
36+
Grounding with Bing returns relevant search results to the customer's model deployment, which then generates the final output. When using Grounding with Bing Search, only the Bing search query and your resource key are sent to Bing, and no end user-specific information is included. Your resource key is sent to Bing solely for billing and rate limiting purposes. Any Bing search query that is generated and sent to Bing for the purposes of grounding is transferred, along with the resource key, outside of the Azure compliance boundary to the Grounding with Bing Search service. Grounding with Bing Search is subject to Bing's terms and do not have the same compliance standards and certifications as the Azure AI Agent Service, as described in the [Grounding with Bing Search Terms of Use](https://www.microsoft.com/bing/apis/grounding-legal). It is your responsibility to assess whether the use of Grounding with Bing Search in your agent meets your needs and requirements.
37+
3138
## Usage support
3239

3340
|Azure AI foundry support | Python SDK | C# SDK | JavaScript SDK | REST API |Basic agent setup | Standard agent setup |

articles/ai-services/language-service/personally-identifiable-information/includes/identification-entities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ The following entities are grouped and listed by country/region:
13281328
:::column-end:::
13291329
:::column span="2":::
13301330

1331-
To get this entity category, add `ITValueAddedTaxNumber` to the `piiCategories` parameter. `ITValueAddedTaxNumber` will be returned in the API response if detected.
1331+
To get this entity category, add `JPResidentRegistrationNumber` to the `piiCategories` parameter. `JPResidentRegistrationNumber` will be returned in the API response if detected.
13321332
13331333
Also returned with `domain=phi`.
13341334
:::column-end:::

articles/ai-services/openai/concepts/use-your-data.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ For some data sources such as uploading files from your local machine (preview)
8282
|URL/Web address (preview) | Web content from the URLs is stored in Azure Blob Storage. |
8383
|Azure Blob Storage (preview) | Upload files from Azure Blob Storage to be ingested into an Azure AI Search index. |
8484

85+
If you choose to upload files or connect Azure Blob Storage, your data should be unstructured text for best results. If you have non-textual semi-structured or structured data consider converting it to text. If your files have special formatting, such as tables and columns, or bullet points, prepare your data with the data preparation script available on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT/tree/main/scripts#optional-crack-pdfs-to-text).
86+
8587
:::image type="content" source="../media/use-your-data/azure-databases-and-ai-search.png" lightbox="../media/use-your-data/azure-databases-and-ai-search.png" alt-text="Diagram of vector indexing services.":::
8688

8789
# [Azure AI Search](#tab/ai-search)
@@ -93,7 +95,7 @@ You might want to consider using an Azure AI Search index when you either want t
9395
> [!NOTE]
9496
> * To use an existing index, it must have at least one searchable field.
9597
> * Set the CORS **Allow Origin Type** option to `all` and the **Allowed origins** option to `*`.
96-
98+
> * You cannot have complex fields in your search index.
9799
98100
### Search types
99101

articles/ai-services/openai/how-to/use-web-app.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,21 @@ ms.service: azure-ai-openai
77
ms.topic: how-to
88
author: aahill
99
ms.author: aahi
10-
ms.date: 01/08/2025
10+
ms.date: 02/19/2025
1111
recommendations: false
1212
---
1313

1414

1515
# Use the Azure OpenAI web app
1616

17+
> [!NOTE]
18+
> The web app and its [source code](https://github.com/microsoft/sample-app-aoai-chatGPT) are provided "as is" and as a sample only. Customers are responsible for all customization and implementation of their web apps. See the support section for the web app on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT/blob/main/SUPPORT.md) for more information.
19+
1720
Along with Azure AI Foundry portal, APIs, and SDKs, you can use the customizable standalone web app to interact with Azure OpenAI models by using a graphical user interface. Key features include:
1821
* Connectivity with multiple data sources to support rich querying and retrieval-augmented generation, including Azure AI Search, Prompt Flow, and more.
1922
* Conversation history and user feedback collection through Cosmos DB.
2023
* Authentication with role-based access control via Microsoft Entra ID.
2124
* Customization of the user interface, data sources, and features using environment variables (no-code via Azure portal).
22-
* Sample source code for the web app is available on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT). Source code is provided "as is" and as a sample only. Customers are responsible for all customization and implementation of their web apps.
2325

2426
You can deploy the app via the [Azure AI Foundry portal](/azure/ai-studio/tutorials/deploy-chat-web-app), the [Azure portal](https://portal.azure.com), or the Azure Developer CLI via your local machine [(instructions available at the repository here)](https://github.com/microsoft/sample-app-aoai-chatGPT). Depending on your deployment channel, you can preload a data source to chat with via the web application, but this can be changed after deployment.
2527

articles/ai-services/openai/includes/language-overview/javascript.md

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Azure OpenAI JavaScript support
55
manager: nitinme
66
ms.service: azure-ai-openai
77
ms.topic: include
8-
ms.date: 11/18/2024
8+
ms.date: 02/13/2025
99
---
1010

1111
[Source code](https://github.com/openai/openai-node) | [Package (npm)](https://www.npmjs.com/package/openai) | [Reference](../../reference.md) |
@@ -36,7 +36,7 @@ import { DefaultAzureCredential } from "@azure/identity";
3636
const credential = new DefaultAzureCredential();
3737
```
3838

39-
This object is then passed to the second argument of the `OpenAIClient` and `AssistantsClient` client constructors.
39+
This object is then passed as part of the [`AzureClientOptions`](#configuration) object to the `AzureOpenAI` and `AssistantsClient` client constructors.
4040

4141
In order to authenticate the `AzureOpenAI` client, however, we need to use the `getBearerTokenProvider` function from the `@azure/identity` package. This function creates a token provider that `AzureOpenAI` uses internally to obtain tokens for each request. The token provider is created as follows:
4242

@@ -48,38 +48,64 @@ const endpoint = "https://your-azure-openai-resource.com";
4848
const apiVersion = "2024-10-21"
4949
const scope = "https://cognitiveservices.azure.com/.default";
5050
const azureADTokenProvider = getBearerTokenProvider(credential, scope);
51-
51+
const deployment = "gpt-35-turbo";
5252

5353
const client = new AzureOpenAI({
5454
endpoint,
55-
apiVersions,
55+
apiVersion,
56+
deployment,
5657
azureADTokenProvider
57-
});
58+
});
5859
```
5960

6061
For more information about Azure OpenAI keyless authentication, see the "[Get started with the Azure OpenAI security building block](/azure/developer/ai/get-started-securing-your-ai-app?tabs=github-codespaces&pivots=typescript)" QuickStart article.
6162

62-
# [API Key](#tab/api-key)
6363

64-
API Key
64+
### Configuration
65+
66+
The `AzureClientOptions` object extends the OpenAI `ClientOptions` object. This Azure-specific client object is used to configure the connection and behavior of the Azure OpenAI client. It includes properties for specifying the properties unique to Azure.
6567

66-
API keys are not recommended for production use because they are less secure than other authentication methods.
68+
| Property | Details |
69+
|--|--|
70+
| apiVersion: `string` | Specifies the API version to use. |
71+
| azureADTokenProvider: `(() => Promise<string>)` | A function that returns an access token for Microsoft Entra (formerly known as Azure Active Directory), invoked on every request.|
72+
| deployment: `string` | A model deployment. If provided, sets the base client URL to include `/deployments/{deployment}`. Non-deployment endpoints can't be used (not supported with Assistants APIs).|
73+
| endpoint: `string` | Your Azure OpenAI endpoint with the following format: `https://RESOURCE-NAME.azure.openai.com/`.|
74+
75+
# [API Key](#tab/api-key)
76+
77+
API keys aren't recommended for production use because they're less secure than other authentication methods.
6778

6879
```typescript
6980
import { AzureKeyCredential } from "@azure/openai";
7081
const apiKey = new AzureKeyCredential("your API key");
71-
const endpoint = "https://your-azure-openai-resource.com";0
82+
const endpoint = "https://your-azure-openai-resource.com";
7283
const apiVersion = "2024-10-21"
84+
const deployment = "gpt-35-turbo";
7385

74-
const client = new AzureOpenAI({ apiKey, endpoint, apiVersion });
86+
const client = new AzureOpenAI({
87+
apiKey,
88+
endpoint,
89+
apiVersion,
90+
deployment
91+
});
7592
```
7693

77-
`AzureOpenAI` can be authenticated with an API key by setting the `AZURE_OPENAI_API_KEY` environment variable or by setting the `apiKey` string property in the options object when creating the `AzureOpenAI` client.
94+
### Configuration
7895

79-
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
96+
The `AzureClientOptions` object extends the OpenAI `ClientOptions` object. This Azure-specific client object is used to configure the connection and behavior of the Azure OpenAI client. It includes properties for specifying the properties unique to Azure.
8097

98+
| Property | Details |
99+
|--|--|
100+
| apiKey: `string` | Your API key for authenticating requests. |
101+
| apiVersion: `string` | Specifies the API version to use. |
102+
| deployment: `string` | A model deployment. If provided, sets the base client URL to include `/deployments/{deployment}`. Non-deployment endpoints can't be used (not supported with Assistants APIs).|
103+
| endpoint: `string` | Your Azure OpenAI endpoint with the following format: `https://RESOURCE-NAME.azure.openai.com/`.|
104+
105+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
81106
---
82107

108+
83109
## Audio
84110

85111
### Transcription

articles/ai-services/openai/monitor-openai-reference.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ Here are the most important metrics we think you should monitor for Azure OpenAI
3131
- Prompt Token Cache Match Rate
3232
- Time to Response
3333
- Time Between Tokens
34-
3534
- Time to Last Byte
36-
37-
- Normalized Time to First Byte
35+
- Normalized Time to First Byte
36+
- Tokens per Second
3837

3938
You can also monitor Content Safety metrics that are used by other Azure AI services.
4039
- Blocked Volume

articles/ai-services/translator/reference/v3-0-languages.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,7 @@ The following example shows how to retrieve languages supported for text transla
247247
```curl
248248
curl "https://api.cognitive.microsofttranslator.com/languages?api-version=3.0&scope=translation"
249249
```
250+
251+
## Related content
252+
253+
For more information, *see* [Language support](../language-support.md).

0 commit comments

Comments
 (0)