Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Arguments

engine URL | name

Either a URL pointing to ModelOp Runtime or the name of a known runtime (set via moc init)

Examples

Code Block
# Use a local runtime on port 8093 on an unsecured instance
moc iterative engine use http://localhost:8093

# Use a local runtime on port 8093 using an OAuth token for a secured instance
moc iterative engine use http://localhost:8093 --token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ

# Use a runtime in a known instance (set up using the "moc init" command)
moc iterative engine use engine-3

...