You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-connector/how-to-integrate-ai-services.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,18 @@
1
1
---
2
-
title: Integrate Azure AI services with service connector
2
+
title: Connect Azure AI services with other Azure services
3
+
titleSuffix: Service Connector
3
4
description: In this document, learn how to integrate Azure AI Services into your application with Service Connector
4
5
author: wchigit
5
6
ms.author: wchi
6
7
ms.service: service-connector
7
8
ms.topic: how-to
8
-
ms.date: 06/14/2024
9
+
ms.date: 01/29/2024
9
10
ms.collection: ce-skilling-ai-copilot
10
11
---
11
12
12
-
# Integrate Azure AI services with Service Connector
13
+
# Connect to Azure AI services using Service Connector
13
14
14
-
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure AI Services to other cloud services using Service Connector. You might still be able to connect to Azure AI Services using other methods. This page also shows default environment variable names and values you get when you create the service connection.
15
+
This page provides information on supported authentication methods and clients, along with sample code for connecting Azure AI services to other cloud services using Service Connector. This page also lists default environment variable names and values obtained when creating the service connection.
15
16
16
17
## Supported compute services
17
18
@@ -25,7 +26,7 @@ Service Connector can be used to connect the following compute services to Azure
25
26
26
27
## Supported authentication types and client types
27
28
28
-
The table below shows which combinations of authentication methods and clients are supported for connecting your compute service to Azure AI Services using Service Connector. A “Yes” indicates that the combination is supported, while a “No” indicates that it is not supported.
29
+
The table below indicates which combinations of authentication methods and clients are supported for connecting your compute service to individual Azure AI Services using Service Connector. A “Yes” indicates that the combination is supported, while a “No” indicates that it is not supported.
29
30
30
31
31
32
| Client type | System-assigned managed identity | User-assigned managed identity | Secret/connection string | Service principal |
@@ -40,9 +41,9 @@ This table indicates that all combinations of client types and authentication me
40
41
41
42
## Default environment variable names or application properties and sample code
42
43
43
-
Use the connection details below to connect compute services to Azure AI Services. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
44
+
Use the connection details below to connect compute services to Azure AI Services. For more information about naming conventions, refer to the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
Copy file name to clipboardExpand all lines: articles/service-connector/how-to-integrate-cognitive-services.md
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,18 @@
1
1
---
2
-
title: Integrate an Azure AI multi-service resource with service connector
2
+
title: Connect Azure AI multi-service resource with Azure services
3
+
titleSuffix: Service Connector
3
4
description: In this document, learn how to integrate an Azure AI multi-service resource into your application with Service Connector
4
5
author: wchigit
5
6
ms.author: wchi
6
7
ms.service: service-connector
7
8
ms.topic: how-to
8
-
ms.date: 06/14/2024
9
+
ms.date: 01/29/2025
9
10
ms.collection: ce-skilling-ai-copilot
10
11
---
11
12
12
-
# Integrate an Azure AI multi-service resource with Service Connector
13
+
# Connect to an Azure AI multi-service resource with Service Connector
13
14
14
-
This page shows supported authentication methods and clients, and shows sample code you can use to connect an Azure AI multi-service resource to other cloud services using Service Connector. You might still be able to connect to an Azure AI multi-service resource using other methods. This page also shows default environment variable names and values you get when you create the service connection.
15
+
This page provides information on supported authentication methods and clients, along with sample code for connecting an Azure AI multi-service resource to other cloud services using Service Connector. This page also lists default environment variable names and values obtained when creating the service connection.
15
16
16
17
## Supported compute services
17
18
@@ -25,7 +26,7 @@ Service Connector can be used to connect the following compute services to an Az
25
26
26
27
## Supported authentication types and client types
27
28
28
-
The table below shows which combinations of authentication methods and clients are supported for connecting your compute service to an Azure AI multi-service resource using Service Connector. A “Yes” indicates that the combination is supported, while a “No” indicates that it is not supported.
29
+
The table below indicates the authentication methods and clients supported for connecting your compute service to an Azure AI multi-service resource using Service Connector. A “Yes” indicates that the combination is supported, while a “No” indicates that it is not supported.
29
30
30
31
31
32
| Client type | System-assigned managed identity | User-assigned managed identity | Secret/connection string | Service principal |
@@ -40,16 +41,18 @@ This table indicates that all combinations of client types and authentication me
40
41
41
42
## Default environment variable names or application properties and sample code
42
43
43
-
Use the connection details below to connect compute services to an Azure AI multi-service resource. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
44
+
Use the connection details below to connect compute services to an Azure AI multi-service resource. For more information about naming conventions, refer to the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
Copy file name to clipboardExpand all lines: articles/service-connector/how-to-integrate-openai.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,18 @@
1
1
---
2
-
title: Integrate Azure OpenAI Service with service connector
2
+
title: Connect Azure OpenAI Service to other Azure services
3
+
titleSuffix: Service Connector
3
4
description: In this document, learn how to integrate Azure OpenAI Service into your application with Service Connector
4
5
author: wchigit
5
6
ms.author: wchi
6
7
ms.service: service-connector
7
8
ms.topic: how-to
8
-
ms.date: 06/14/2024
9
+
ms.date: 01/29/2025
9
10
ms.collection: ce-skilling-ai-copilot
10
11
---
11
12
12
-
# Integrate Azure OpenAI Service with Service Connector
13
+
# Connect to Azure OpenAI Service using Service Connector
13
14
14
-
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure OpenAI Service to other cloud services using Service Connector. You might still be able to connect to Azure OpenAI Service using other methods. This page also shows default environment variable names and values you get when you create the service connection.
15
+
This page provides information about supported authentication methods and clients, along with sample code for connecting Azure OpenAI Service to other cloud services using Service Connector. This page also lists default environment variable names and values obtained when creating service connections.
15
16
16
17
## Supported compute services
17
18
@@ -22,6 +23,7 @@ Service Connector can be used to connect the following compute services to Azure
22
23
- Azure Functions
23
24
- Azure Kubernetes Service (AKS)
24
25
- Azure Spring Apps
26
+
25
27
## Supported authentication types and client types
26
28
27
29
The table below shows which combinations of authentication methods and clients are supported for connecting your compute service to Azure OpenAI Service using Service Connector. A “Yes” indicates that the combination is supported, while a “No” indicates that it is not supported.
@@ -39,7 +41,7 @@ This table indicates that all combinations of client types and authentication me
39
41
40
42
## Default environment variable names or application properties and sample code
41
43
42
-
Use the connection details below to connect compute services to Azure OpenAI Service. For more information about naming conventions, check the[Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
44
+
Use the connection details below to connect compute services to Azure OpenAI Service. For more information about naming conventions, refer to[Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
43
45
44
46
### System-assigned managed identity
45
47
@@ -59,6 +61,7 @@ Refer to the steps and code below to connect to Azure OpenAI Service using a sys
59
61
| AZURE_OPENAI_CLIENTID | Your client ID |`<client-ID>`|
60
62
61
63
#### Sample code
64
+
62
65
Refer to the steps and code below to connect to Azure OpenAI Service using a user-assigned managed identity.
63
66
[!INCLUDE [code sample for azure openai service](./includes/code-openai-microsoft-entra-id.md)]
64
67
@@ -71,6 +74,7 @@ Refer to the steps and code below to connect to Azure OpenAI Service using a use
71
74
> | AZURE_OPENAI_KEY | Azure OpenAI Service API key |`<api-key>`|
72
75
73
76
#### Sample Code
77
+
74
78
Refer to the steps and code below to connect to Azure OpenAI Service using a connection string.
75
79
[!INCLUDE [code sample for azure openai service](./includes/code-openai-secret.md)]
76
80
@@ -88,9 +92,8 @@ Refer to the steps and code below to connect to Azure OpenAI Service using a con
88
92
Refer to the steps and code below to connect to Azure OpenAI Service using a service principaL.
89
93
[!INCLUDE [code sample for azure openai service](./includes/code-openai-microsoft-entra-id.md)]
90
94
91
-
## Next steps
92
-
93
-
Follow the tutorial listed below to learn more about Service Connector.
95
+
### Related content
94
96
95
-
> [!div class="nextstepaction"]
96
-
> [Learn about Service Connector concepts](./concept-service-connector-internals.md)
97
+
*[Connect to Azure OpenAI Service in AKS using Workload Identity](./tutorial-python-aks-openai-workload-identity.md)
98
+
*[Connect to an Azure AI multi-service resource](./how-to-integrate-cognitive-services.md)
99
+
*[Connect to Azure AI services](./how-to-integrate-ai-services.md)
# Tutorial: Connect to Azure OpenAI Service in AKS using a connection string
16
16
17
-
In this tutorial, you learn how to create a pod in an Azure Kubernetes (AKS) cluster, which talks to Azure OpenAI Service using a connection string. You complete the following tasks:
17
+
In this tutorial, you learn how to create a pod in an Azure Kubernetes (AKS) cluster that communicates with Azure OpenAI Service using a connection string. You complete the following tasks:
18
18
19
19
> [!div class="checklist"]
20
20
>
@@ -138,16 +138,23 @@ Once the connection has been created, you can view its details in the **Service
138
138
139
139
## [Azure CLI](#tab/azure-cli)
140
140
141
-
Use the Azure CLI command to create a service connection to the Azure OpenAI service, providing the following information:
142
-
143
-
* **Source compute service resource group name:** the resource group name of the AKS cluster.
144
-
* **AKS cluster name:** the name of your AKS cluster that connects to the target service.
145
-
* **Target service resource group name:** the resource group name of the Azure OpenAI service.
146
-
* **OpenAI service name:** the Azure OpenAI service that is connected.
141
+
Create a service connection to the Azure OpenAI service in AKS by running the [az aks connection create cognitiveservices](/cli/azure/aks/connection/create#az-aks-connection-create-cognitiveservices) command in the Azure CLI.
147
142
148
143
```azurecli
149
144
az aks connection create cognitiveservices --secret
145
+
```
146
+
147
+
When using the above command, Service Connector prompts you to specify the AKS resource group, AKS cluster name, target service resource group, and cognitive service account name step by step.
148
+
149
+
Alternatively, you can provide the complete command directly:
0 commit comments