Skip to content

Commit 3a404ea

Browse files
committed
updating api date
1 parent d1e8a8a commit 3a404ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/openai/how-to/code-interpreter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ assistant = client.beta.assistants.create(
145145
```console
146146
# Upload a file with an "assistants" purpose
147147

148-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files?api-version=2024-05-01-preview \
148+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files?api-version=2024-08-01-preview \
149149
-H "api-key: $AZURE_OPENAI_API_KEY" \
150150
-F purpose="assistants" \
151151
-F file="@c:\\path_to_file\\file.csv"
152152

153153
# Create an assistant using the file ID
154154

155-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-05-01-preview \
155+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-08-01-preview \
156156
-H "api-key: $AZURE_OPENAI_API_KEY" \
157157
-H 'Content-Type: application/json' \
158158
-d '{

0 commit comments

Comments
 (0)