Skip to content

Commit 620a930

Browse files
Merge pull request #5169 from santiagxf/santiagxf-patch-1
Update langchain.md
2 parents f802184 + a0acb93 commit 620a930

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-foundry/how-to/develop/langchain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ model = AzureAIChatCompletionsModel(
126126
)
127127
```
128128
129-
If your endpoint is serving one model, like with the standard deployment, you don't have to indicate `model_name` parameter:
129+
If your endpoint is serving one model, like with the standard deployment, you don't have to indicate `model` parameter:
130130

131131
```python
132132
import os
@@ -191,7 +191,7 @@ chain.invoke({"language": "italian", "text": "hi"})
191191
192192
Models deployed to Azure AI Foundry support the Foundry Models API, which is standard across all the models. Chain multiple LLM operations based on the capabilities of each model so you can optimize for the right model based on capabilities.
193193
194-
In the following example, we create two model clients. One is a producer and another one is a verifier. To make the distinction clear, we're using a multi-model endpoint like the [Foundry Models API](../../model-inference/overview.md) and hence we're passing the parameter `model_name` to use a `Mistral-Large` and a `Mistral-Small` model, quoting the fact that **producing content is more complex than verifying it**.
194+
In the following example, we create two model clients. One is a producer and another one is a verifier. To make the distinction clear, we're using a multi-model endpoint like the [Foundry Models API](../../model-inference/overview.md) and hence we're passing the parameter `model` to use a `Mistral-Large` and a `Mistral-Small` model, quoting the fact that **producing content is more complex than verifying it**.
195195
196196
```python
197197
from langchain_azure_ai.chat_models import AzureAIChatCompletionsModel

0 commit comments

Comments
 (0)