Search Modaic documentation

Find a Modaic guide or API reference

modaic models

list

List your models.

modaic models list
Flag / argumentWhat it does
-h, --helpShow usage and options.

create

Create a model from a configuration file.

modaic models create acme support-priority --config model.json
Flag / argumentWhat it does
WORKSPACERequired workspace slug.
SLUGRequired model name.
--configPath to a JSON model configuration.
--modelBase model; overrides the configuration file value.
--descriptionModel description.
--default-branchDefault branch name.
-h, --helpShow usage and options.

model.json supplies the model and question schema:

{
  "model": "mo",
  "questions": {"urgent": {"type": "noul", "instructions": "Does this need urgent action?"}}
}

get

Read a model and its configuration.

modaic models get acme/support-priority
Flag / argumentWhat it does
WORKSPACE/MODELRequired model path, such as acme/support-priority.
-h, --helpShow usage and options.

update

Update a model configuration or description.

modaic models update acme/support-priority --description "Support triage"
Flag / argumentWhat it does
WORKSPACE/MODELRequired model path, such as acme/support-priority.
--configJSON configuration containing model and/or questions.
--descriptionNew description.
--branchBranch to update.
--messageCommit message.
--discard-alignmentAllow changed questions to replace aligned instructions and reset the checkpoint.
-h, --helpShow usage and options.

delete

Delete a model.

modaic models delete acme/support-priority
Flag / argumentWhat it does
WORKSPACE/MODELRequired model path, such as acme/support-priority.
--yesSkip typing the model name to confirm deletion.
-h, --helpShow usage and options.
Was this page helpful?