Skip to content

Latest commit

 

History

History
87 lines (58 loc) · 1.87 KB

README.md

File metadata and controls

87 lines (58 loc) · 1.87 KB
Click here to see the table of contents.

Usage

CM installation

Guide

CM script automation help

cm run script --help

CM CLI

cm run script --tags=app,question-classification,topic-classification,go,question-topic(,variations from below) (flags from below)

or

cm run script "app question-classification topic-classification go question-topic (variations from below)" (flags from below)

or

cm run script f559634052574b50

CM Python API

Click here to expand this section.
import cmind

r = cmind.access({'action':'run'
                  'automation':'script',
                  'tags':'app,question-classification,topic-classification,go,question-topic'
                  'out':'con',
                  ...
                  (other input keys for this script)
                  ...
                 })

if r['return']>0:
    print (r['error'])

Customization

Variations

  • No group (any variation can be selected)

    Click here to expand this section.
    • _rh
      • Environment variables:
        • CM_ML_MODEL_NAME: go_1
      • Workflow:
        1. Read "deps" on other CM scripts
          • get, ml-model, question-classification, go, qa, question-topic, _rh

Maintainers