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
66manager : nitinme
77ms.service : azure-ai-agent-service
88ms.topic : how-to
9- ms.date : 04/09 /2025
9+ ms.date : 05/28 /2025
1010author : aahill
1111ms.author : aahi
1212zone_pivot_groups : selection-bing-grounding-code
@@ -74,7 +74,7 @@ from azure.ai.agents.models import FilePurpose
7474file_path = " ./data/product_info_1.md"
7575
7676# 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 )
7878print (f " Uploaded file, file ID: { file .id} " )
7979
8080# Create a vector store with the uploaded file
You can’t perform that action at this time.
0 commit comments