We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1e378 commit 743eb07Copy full SHA for 743eb07
articles/ai-services/openai/tutorials/fine-tune.md
@@ -488,8 +488,8 @@ print(f'Fine-tuning job {job_id} finished with status: {status}')
488
489
# List all fine-tuning jobs for this resource.
490
print('Checking other fine-tune jobs for this resource.')
491
-response = client.files.list().data
492
-print(f'Found {len(response["data"])} fine-tune jobs.')
+response = client.fine_tuning.jobs.list()
+print(f'Found {len(response.data)} fine-tune jobs.')
493
```
494
495
---
0 commit comments