Skip to main content
The predict command runs a compiled predictor directly from your terminal. This is useful for quick testing and scripting.

Usage

$ muna predict [OPTIONS] TAG [--PARAM VALUE ...]
ArgumentDescription
TAGPredictor tag (e.g. @username/greeting)

Options

OptionDescription
--quietSuppress verbose logging

Running a Prediction

Pass inputs to your predictor using --param value syntax:
# 🔥 Run the predictor
$ muna predict @your-username/greeting --name Lina
For predictors with multiple parameters:
# 🔥 Run with multiple inputs
$ muna predict @your-username/calculate --a 5 --b 3

Quiet Mode

Use --quiet to suppress logging output, which is useful for scripting:
# 🚀 Clean output for scripts
$ muna predict --quiet @your-username/greeting --name Lina
The predict command outputs results to stdout, making it easy to pipe into other commands or capture in scripts.

Exploring Predictors

Not sure what predictors are available? Use the --explore flag to browse:
$ muna --explore
For production use cases, consider using the Muna SDK in your preferred language for better error handling and performance.

Next Steps