cc-steer exemplars

Retrieve the exemplars the frontier refiner would see for a steering context.

cc-steer exemplars [OPTIONS] CONTEXT

Embeds context and MMR-retrieves the most similar past steers from the built index (cc-steer index); an empty index errors. Requires the embed extra. This is stage 3’s retrieval, surfaced for inspection.

Full --help output
Usage: cc-steer exemplars [OPTIONS] CONTEXT

  Retrieve the exemplars the frontier refiner would see for a steering
  context.

  Embeds ``context`` and MMR-retrieves the most similar past steers from the
  built index (``cc-steer index``); an empty index errors. Requires the
  ``embed`` extra. This is stage 3's retrieval, surfaced for inspection.

Options:
  --k INTEGER  How many exemplars to retrieve.  [default: 5]
  --json       Emit the retrieved exemplars as JSON.
  --db FILE    Database path. Defaults to ~/.cc-steer/feedback.db.
  --help       Show this message and exit.

Arguments

CONTEXT: TEXT
Required.

Options

--k: INTEGER = 5
How many exemplars to retrieve.
--json
Emit the retrieved exemplars as JSON.
--db: FILE
Database path. Defaults to ~/.cc-steer/feedback.db.