Skip to content

Commit 0051261

Browse files
Merge pull request #3408 from santiagxf/santiagxf-patch-1
Update python.md
2 parents 0864f41 + a0f557b commit 0051261

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ from azure.identity import DefaultAzureCredential
5858
client = ChatCompletionsClient(
5959
endpoint="https://<resource>.services.ai.azure.com/models",
6060
credential=DefaultAzureCredential(),
61-
model="phi-4-omni"
61+
model="Phi-4-multimodal-instruct"
6262
)
6363
```
6464

@@ -108,8 +108,7 @@ response = client.complete(
108108
ImageContentItem(image=ImageUrl(url=data_url))
109109
]),
110110
],
111-
temperature=0,
112-
top_p=1,
111+
temperature=1,
113112
max_tokens=2048,
114113
)
115114
```

0 commit comments

Comments
 (0)