Xerp::CLI::JsonFormatter
Class methods
Formats index stats as JSON (pretty-printed).
Formats a mark acknowledgment as JSON (pretty-printed).
Formats multi-model training stats as JSON (pretty-printed).
format_neighbors(token : String, neighbors : Array(Tuple(String, Float64)), model : String = "blend") : String
Formats token neighbors as JSON (pretty-printed).
Formats headers listing as JSON (pretty-printed).
Formats a query response as JSONL (one line per result).
Formats a query response as JSON (pretty-printed).
Formats salient terms as JSON (pretty-printed).