CLI (v0.49.0)Reference
wriftai model-versions create
CLI reference for wriftai model-versions create
wriftai model-versions create
Create a model version
wriftai model-versions create [flags]Examples
$ wriftai model-versions create \
--model johndoe/fraud-detector \
--release-notes "Improved detection accuracy" \
--container-image-digest sha256:9b4a26f1f6e6e4c548c06d8aafcddcfa033b92e2e7b1caaa92d28d21f12b3e59 \
--schemas '{"prediction":{"input":{"key":"value"},"output":{"text":"Hello world"}}}' \
--compatibility openai_chat_completions --compatibility anthropic_messagesOptions
--compatibility strings API compatibility to enable (can be specified multiple times or comma-separated). Valid values: anthropic_messages, openai_chat_completions, openai_embeddings, openai_images_generations, openai_responses
--container-image-digest string A sha256 hash digest of the version's container image (required)
-h, --help help for create
--model string Model identifier in owner/name format (required)
-o, --output format Set output format. Supported formats: json, yaml (default json)
--release-notes string Information about changes such as new features, bug fixes, or optimizations in this version (required)
--schemas string JSON string containing schemas of the model version (required)Options inherited from parent commands
--debug Enable debug modeSEE ALSO
- wriftai model-versions - Operations related to model versions on WriftAI