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 55aa5fc commit 38f14b9Copy full SHA for 38f14b9
README.md
@@ -599,7 +599,7 @@ Put your data in a `.jsonl` file like this:
599
{"prompt":"@lakers disappoint for a third straight night ->", "completion":" negative"}
600
```
601
602
-and pass the path to `client.files.upload` to upload it to OpenAI, and then interact with it:
+and pass the path (or a StringIO object) to `client.files.upload` to upload it to OpenAI, and then interact with it:
603
604
```ruby
605
client.files.upload(parameters: { file: "path/to/sentiment.jsonl", purpose: "fine-tune" })
0 commit comments