Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.03 KB

ask.md

File metadata and controls

38 lines (26 loc) · 1.03 KB

shelly ask

Ask questions or instruct shelly to do something.

shelly ask QUESTION

Ask questions or instruct shelly to do something.

USAGE
  $ shelly ask QUESTION [--json] [--log-level debug|info|warn|error] [-v] [-c <value>]

ARGUMENTS
  QUESTION  The question you want answered

FLAGS
  -c, --collection=<value>  vector collection to use. If not specified, ignores vector search and performs normal QA
                            without context.
  -v, --verbose             enable verbose mode

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Ask questions or instruct shelly to do something.

EXAMPLES
  $ shelly ask "How do i list all files in a directory?"

  $ shelly ask --collection=foo "how do i do something?"

See code: dist/commands/ask/index.ts