File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/ai-services/agents/how-to/tools Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services: cognitive-services
6
6
manager : nitinme
7
7
ms.service : azure-ai-agent-service
8
8
ms.topic : how-to
9
- ms.date : 04/09 /2025
9
+ ms.date : 05/28 /2025
10
10
author : aahill
11
11
ms.author : aahi
12
12
zone_pivot_groups : selection-bing-grounding-code
@@ -74,7 +74,7 @@ from azure.ai.agents.models import FilePurpose
74
74
file_path = " ./data/product_info_1.md"
75
75
76
76
# Upload the file
77
- file = project_client.agents.files.upload_file_and_poll (file_path = file_path, purpose = FilePurpose.AGENTS )
77
+ file = project_client.agents.files.upload_and_poll (file_path = file_path, purpose = FilePurpose.AGENTS )
78
78
print (f " Uploaded file, file ID: { file .id} " )
79
79
80
80
# Create a vector store with the uploaded file
You can’t perform that action at this time.
0 commit comments