forked from phoenix-oss/llama-stack-mirror
update doc
This commit is contained in:
parent
b4d118fc5c
commit
0df33049e3
3 changed files with 3 additions and 20 deletions
|
@ -153,21 +153,7 @@ class Datasets(Protocol):
|
|||
|
||||
:param purpose: The purpose of the dataset. One of
|
||||
- "post-training/messages": The dataset contains a messages column with list of messages for post-training.
|
||||
- Example data rows:
|
||||
{
|
||||
"messages": [
|
||||
{"role": "user", "content": "Hello, world!"},
|
||||
{"role": "assistant", "content": "Hello, world!"},
|
||||
]
|
||||
}
|
||||
- "eval/messages-answer": The dataset contains a messages column with list of messages and an answer column.
|
||||
- Example data rows:
|
||||
{
|
||||
"messages": [
|
||||
{"role": "user", "content": "What is the capital of France?"},
|
||||
],
|
||||
"answer": "Paris"
|
||||
}
|
||||
:param source: The data source of the dataset. Examples:
|
||||
- {
|
||||
"type": "uri",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue