Docs / Cli

smallforce calls knowledge train-text

Submit text to the existing training queue

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.8. Run smallforce calls knowledge train-text --help locally to view the same reference for your installed version.

Complete command help

Usage: smallforce calls knowledge train-text [options]

Submit text to the existing training queue

Options:
  --api-key <key>        SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>    SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                 Print stable machine-readable JSON
  --text                 Print human-readable text
  --format <format>      Output format: text or json
  --input <json>         Full settings as a JSON object; explicit flags take precedence
  --input-file <path>    Read settings JSON from a file, or - for stdin
  --assistant-id <id>    Voice assistant ID
  --name <name>          Knowledge name
  --content <text>       Text to train
  --content-file <path>  Read text from a file, or - for stdin
  -h, --help             display help for command