llama-stack-mirror/llama_stack/apis
Xi Yan b50bffd15c datasets api
## Summary
- Clean up datasets API to work with uri & files.

- Example client usage
```python
client.datasets.create(
    uri="file://mydata.jsonl",
    schema="jsonl_messages",
    # optional
    dataset_id="my_first_train_data"
)

# ecosystem enablement ( get huggingface dataset easily )
client.datasets.create(
    uri="huggingface://tatsu-lab/alpaca",
    uri_params={"split": "train"},
    schema="jsonl_messages",
    metadata={"label": "v/finetuning/test"},
)

# [ in the future with stronger story for authentication ]
client.datasets.create(
    uri="s3://bucket/mydata.jsonl", <-- signed s3 url
    uri_parms={...},
    schema="jsonl_messages",
)
```


## Test Plan:
- Only API spec updates, implementation will be updated in follow PRs.
2025-03-11 14:54:04 -07:00
..
agents feat(api): list agents / sessions and get agent (#1410) 2025-03-11 10:33:46 -07:00
batch_inference fix: solve ruff B008 warnings (#1444) 2025-03-06 16:48:35 -08:00
benchmarks chore!: deprecate eval/tasks (#1186) 2025-02-20 14:06:21 -08:00
common ci: add mypy for static type checking (#1101) 2025-02-21 13:15:40 -08:00
datasetio docs: api documentation for agents/eval/scoring/datasets (#1400) 2025-03-05 09:40:24 -08:00
datasets datasets api 2025-03-11 14:54:04 -07:00
eval docs: api documentation for agents/eval/scoring/datasets (#1400) 2025-03-05 09:40:24 -08:00
files feat: adding endpoints for files and uploads (#1070) 2025-02-20 13:09:00 -08:00
inference fix: Revert "feat: record token usage for inference API (#1300)" (#1476) 2025-03-07 10:16:47 -08:00
inspect chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
models chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
post_training chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
safety chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
scoring docs: api documentation for agents/eval/scoring/datasets (#1400) 2025-03-05 09:40:24 -08:00
scoring_functions chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
shields chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
synthetic_data_generation chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
telemetry fix: some telemetry APIs don't currently work (#1188) 2025-02-20 14:09:25 -08:00
tools feat: tool outputs metadata (#1155) 2025-02-21 13:15:31 -08:00
vector_dbs chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
vector_io chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py feat: enhance OpenAPI spec to include Error types (#1320) 2025-02-28 11:16:12 -08:00
resource.py fix!: update eval-tasks -> benchmarks (#1032) 2025-02-13 16:40:58 -08:00
version.py llama-stack version alpha -> v1 2025-01-15 05:58:09 -08:00