Skip to content

Commit e87f98a

Browse files
committed
updating examples
1 parent 41d2514 commit e87f98a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: cognitive-services
66
manager: nitinme
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 01/28/2025
9+
ms.date: 02/03/2025
1010
author: aahill
1111
ms.author: aahi
1212
recommendations: false
@@ -104,7 +104,12 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2
104104
"tools": [
105105
{ "type": "code_interpreter" }
106106
],
107-
"model": "gpt-4-1106-preview"
107+
"model": "gpt-4-1106-preview",
108+
"tool_resources": {
109+
"code_interpreter": {
110+
"file_ids": ["assistant-123abc456"]
111+
}
112+
}
108113
}'
109114
```
110115

0 commit comments

Comments
 (0)