Skip to content

Commit 38f14b9

Browse files
committed
Add to README
1 parent 55aa5fc commit 38f14b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Put your data in a `.jsonl` file like this:
599599
{"prompt":"@lakers disappoint for a third straight night ->", "completion":" negative"}
600600
```
601601

602-
and pass the path to `client.files.upload` to upload it to OpenAI, and then interact with it:
602+
and pass the path (or a StringIO object) to `client.files.upload` to upload it to OpenAI, and then interact with it:
603603

604604
```ruby
605605
client.files.upload(parameters: { file: "path/to/sentiment.jsonl", purpose: "fine-tune" })

0 commit comments

Comments
 (0)