Skip to content

Commit af9ba2b

Browse files
authored
Update responses.md
Fixed comment in Python sample - wrong file upload purpose (batch, instead of assistants)
1 parent a314d4e commit af9ba2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-foundry/openai/how-to/responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ client = AzureOpenAI(
773773
)
774774

775775

776-
# Upload a file with a purpose of "batch"
776+
# Upload a file with a purpose of "assistants"
777777
file = client.files.create(
778778
file=open("nucleus_sampling.pdf", "rb"), # This assumes a .pdf file in the same directory as the executing script
779779
purpose="assistants"

0 commit comments

Comments
 (0)