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
+14-10Lines changed: 14 additions & 10 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/24/2025
11
11
ms.reviewer: fasantia
12
12
ms.author: sgilley
13
13
author: sdgilley
@@ -30,12 +30,12 @@ In this tutorial, you learn how to use the packages `langchain-azure-ai` to buil
30
30
To run this tutorial, you need:
31
31
32
32
* An [Azure subscription](https://azure.microsoft.com).
33
-
* A model deployment supporting the [Foundry Models API](https://aka.ms/azureai/modelinference) deployed. In this example, we use a `Mistral-Large-2407` deployment in the [Foundry Models](../../../ai-foundry/model-inference/overview.md).
33
+
* A model deployment supporting the [Foundry Models API](https://aka.ms/azureai/modelinference) deployed. In this example, we use a `mistral-medium-2505` deployment in the [Foundry Models](../../../ai-foundry/model-inference/overview.md).
34
34
* Python 3.9 or later installed, including pip.
35
35
* LangChain installed. You can do it with:
36
36
37
37
```bash
38
-
pip install langchain-core
38
+
pip install langchain
39
39
```
40
40
41
41
* In this example, we're working with the Foundry Models API, hence we install the following packages:
@@ -63,7 +63,10 @@ To use LLMs deployed in Azure AI Foundry portal, you need the endpoint and crede
63
63
> [!TIP]
64
64
> If your model was deployed with Microsoft Entra ID support, you don't need a key.
65
65
66
-
In this scenario, we placed both the endpoint URL and key in the following environment variables:
66
+
In this scenario, we placed both the endpoint URL and key in the following environment variables.
67
+
68
+
> [!TIP]
69
+
> The endpoint you copied might have extra text after /models. Delete that and stop ad /models as shown here.
0 commit comments