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/ai-foundry/how-to/develop/langchain.md
+1-23Lines changed: 1 addition & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,29 +47,7 @@ To run this tutorial, you need:
47
47
48
48
## Configure the environment
49
49
50
-
To use LLMs deployed in Azure AI Foundry portal, you need the endpoint and credentials to connect to it. Follow these steps to get the information you need from the model you want to use:
1. Go to the [Azure AI Foundry](https://ai.azure.com/?cid=learnDocs).
55
-
56
-
1. Open the project where the model is deployed, if it isn't already open.
57
-
58
-
1. Go to **Models + endpoints** and selectthe model you deployed as indicated in the prerequisites.
59
-
60
-
1. Copy the endpoint URL and the key.
61
-
62
-
:::image type="content" source="../../media/how-to/inference/serverless-endpoint-url-keys.png" alt-text="Screenshot of the option to copy endpoint URI and keys from an endpoint." lightbox="../../media/how-to/inference/serverless-endpoint-url-keys.png":::
63
-
64
-
> [!TIP]
65
-
> If your model was deployed with Microsoft Entra ID support, you don't need a key.
66
-
67
-
In this scenario, set the endpoint URL and key as environment variables. (If the endpoint you copied includes additional text after `/models`, remove it so the URL ends at `/models` as shown below.)
Once configured, create a client to connect with the chat model by using the `init_chat_model`. For Azure OpenAI models, configure the client as indicated at [Using Azure OpenAI models](#using-azure-openai-models).
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/develop/llama-index.md
+4-23Lines changed: 4 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-foundry
7
7
ms.custom:
8
8
- ignite-2024
9
9
ms.topic: how-to
10
-
ms.date: 03/11/2025
10
+
ms.date: 06/26/2025
11
11
ms.reviewer: fasantia
12
12
ms.author: sgilley
13
13
author: sdgilley
@@ -54,26 +54,7 @@ To run this tutorial, you need:
54
54
55
55
## Configure the environment
56
56
57
-
To use LLMs deployed in Azure AI Foundry portal, you need the endpoint and credentials to connect to it. Follow these steps to get the information you need from the model you want to use:
1. Go to the [Azure AI Foundry](https://ai.azure.com/?cid=learnDocs).
62
-
1. Open the project where the model is deployed, if it isn't already open.
63
-
1. Go to **Models + endpoints** and selectthe model you deployed as indicated in the prerequisites.
64
-
1. Copy the endpoint URL and the key.
65
-
66
-
:::image type="content" source="../../media/how-to/inference/serverless-endpoint-url-keys.png" alt-text="Screenshot of the option to copy endpoint URI and keys from an endpoint." lightbox="../../media/how-to/inference/serverless-endpoint-url-keys.png":::
67
-
68
-
> [!TIP]
69
-
> If your model was deployed with Microsoft Entra ID support, you don't need a key.
70
-
71
-
In this scenario, we placed both the endpoint URL and key in the following environment variables:
To use LLMs deployed in Azure AI Foundry portal, you need the endpoint and credentials to connect to it. Follow these steps to get the information you need from the model you want to use:
14
+
15
+
[!INCLUDE [tip-left-pane](tip-left-pane.md)]
16
+
17
+
1. Go to the [Azure AI Foundry](https://ai.azure.com/?cid=learnDocs).
18
+
19
+
1. Open the project where the model is deployed, if it isn't already open.
20
+
21
+
1. Go to **Models + endpoints** and select the model you deployed as indicated in the prerequisites.
22
+
23
+
1. Copy the endpoint URL and the key.
24
+
25
+
:::image type="content" source="../media/how-to/inference/serverless-endpoint-url-keys.png" alt-text="Screenshot of the option to copy endpoint URI and keys from an endpoint." lightbox="../../media/how-to/inference/serverless-endpoint-url-keys.png":::
26
+
27
+
> [!TIP]
28
+
> If your model was deployed with Microsoft Entra ID support, you don't need a key.
29
+
30
+
In this scenario, set the endpoint URL and key as environment variables. (If the endpoint you copied includes additional text after `/models`, remove it so the URL ends at `/models` as shown below.)
0 commit comments