Add docs for importing data (#217)

This commit is contained in:
arcticfly
2023-09-07 11:10:00 -07:00
committed by GitHub
parent c5bca87486
commit 1e98972b6a
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
title: "Import Data - Beta"
sidebarTitle: "Import Data"
description: "
Import external data to kickstart your fine-tuning process. Use the OpenAI chat fine-tuning format."
---
Upload a JSONL file populated with an array of OpenAI messages as input, and a single message as output.
<Frame>![](/images/features/importing-data.png)</Frame>
Compatible with both typical content messages and function calls. Input arrays must contain one or more messages.
```jsonl
...
{"input":[{"role":"system","content":"You are a helpful assistant"},{"role":"user","content":"What is the capitol of Sweden?"}],"output":{"role":"assistant","content":null,"function_call":{"name":"log_capitol","arguments":"{\"capitol\":\"Stockholm\"}"}}}
{"input":[{"role":"system","content":"You are a helpful assistant"},{"role":"user","content":"What is the capitol of Tasmania?"}],"output":{"role":"assistant","content":null,"function_call":{"name":"log_capitol","arguments":"{\"capitol\":\"Hobart\"}"}}}
...
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

View File

@@ -41,6 +41,7 @@
"group": "Features",
"pages": [
"features/log-filters",
"features/importing-data",
"features/exporting-data",
"features/fine-tuning",
"features/experiments"