modaic examples
create
Upload examples from a file.
modaic examples create acme/support-priority --file examples.jsonl
| Flag / argument | What it does |
|---|---|
WORKSPACE/MODEL | Required model path, such as acme/support-priority. |
--file | Required JSONL, JSON array, or object with an examples array. |
-h, --help | Show usage and options. |
Example JSONL row:
{"state":"Checkout is unavailable","annotation":{"ground_truth":{"urgent":true}}}
list
List a page of examples.
modaic examples list acme/support-priority --page 1 --page-size 20
| Flag / argument | What it does |
|---|---|
WORKSPACE/MODEL | Required model path, such as acme/support-priority. |
--page | Page number. Default: 1. |
--page-size | Examples per page. Default: 30. |
-h, --help | Show usage and options. |
summary
Read example and annotation counts.
modaic examples summary acme/support-priority
| Flag / argument | What it does |
|---|---|
WORKSPACE/MODEL | Required model path, such as acme/support-priority. |
-h, --help | Show usage and options. |
get
Read one example.
modaic examples get acme/support-priority EXAMPLE_ID
| Flag / argument | What it does |
|---|---|
WORKSPACE/MODEL | Required model path, such as acme/support-priority. |
EXAMPLE_ID | Required example ID. |
-h, --help | Show usage and options. |
annotate
Add or update an example label.
modaic examples annotate acme/support-priority EXAMPLE_ID --file annotation.json
| Flag / argument | What it does |
|---|---|
WORKSPACE/MODEL | Required model path, such as acme/support-priority. |
EXAMPLE_ID | Required example ID. |
--file | Required JSON file with ground_truth and/or ground_reasoning. |
-h, --help | Show usage and options. |
Example annotation.json:
{"ground_truth":{"urgent":true},"ground_reasoning":"Checkout is blocked."}
decisions
Read decisions for an example.
modaic examples decisions acme/support-priority EXAMPLE_ID
| Flag / argument | What it does |
|---|---|
WORKSPACE/MODEL | Required model path, such as acme/support-priority. |
EXAMPLE_ID | Required example ID. |
-h, --help | Show usage and options. |
Was this page helpful?