Skip to content

Commit 743eb07

Browse files
committed
update
1 parent bb1e378 commit 743eb07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/openai/tutorials/fine-tune.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ print(f'Fine-tuning job {job_id} finished with status: {status}')
488488

489489
# List all fine-tuning jobs for this resource.
490490
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.')
491+
response = client.fine_tuning.jobs.list()
492+
print(f'Found {len(response.data)} fine-tune jobs.')
493493
```
494494

495495
---

0 commit comments

Comments
 (0)