Skip to content

Commit 77378ef

Browse files
authored
Merge pull request #3702 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-ai-docs (branch main)
2 parents 58ff2d6 + 93b9705 commit 77378ef

File tree

1 file changed

+2
-2
lines changed
  • articles/ai-foundry/model-inference/includes/use-chat-multi-modal

1 file changed

+2
-2
lines changed

articles/ai-foundry/model-inference/includes/use-chat-multi-modal/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ response = client.complete(
105105
SystemMessage("You are a helpful assistant that can generate responses based on images."),
106106
UserMessage(content=[
107107
TextContentItem(text="Which conclusion can be extracted from the following chart?"),
108-
ImageContentItem(image=ImageUrl(url=data_url))
108+
ImageContentItem(image_url=ImageUrl(url=data_url))
109109
]),
110110
],
111111
temperature=1,
@@ -214,4 +214,4 @@ response = client.complete(
214214
)
215215
```
216216

217-
Audio is broken into tokens and submitted to the model for processing. Some models might operate directly over audio tokens while other might use internal modules to perform speech-to-text, resulting in different strategies to compute tokens. Read the model card for details about how each model operates.
217+
Audio is broken into tokens and submitted to the model for processing. Some models might operate directly over audio tokens while other might use internal modules to perform speech-to-text, resulting in different strategies to compute tokens. Read the model card for details about how each model operates.

0 commit comments

Comments
 (0)