Skip to content

Commit 636fda5

Browse files
HaystackBotsjrl
andauthored
docs: sync Haystack API reference on Docusaurus (#11338)
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com>
1 parent 6c3b50d commit 636fda5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs-website/reference/haystack-api/generators_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ from haystack.utils import Secret
3535
client = AzureOpenAIGenerator(
3636
azure_endpoint="<Your Azure endpoint e.g. `https://your-company.azure.openai.com/>",
3737
api_key=Secret.from_token("<your-api-key>"),
38-
azure_deployment="<this a model name, e.g. gpt-4.1-mini>")
38+
azure_deployment="<this is a model name, e.g. gpt-4.1-mini>")
3939
response = client.run("What's Natural Language Processing? Be brief.")
4040
print(response)
4141
```
@@ -182,7 +182,7 @@ messages = [ChatMessage.from_user("What's Natural Language Processing?")]
182182
client = AzureOpenAIChatGenerator(
183183
azure_endpoint="<Your Azure endpoint e.g. `https://your-company.azure.openai.com/>",
184184
api_key=Secret.from_token("<your-api-key>"),
185-
azure_deployment="<this a model name, e.g. gpt-4.1-mini>")
185+
azure_deployment="<this is a model name, e.g. gpt-4.1-mini>")
186186
response = client.run(messages)
187187
print(response)
188188
```

0 commit comments

Comments
 (0)