Exports classifier training rows from a Spectre agent.
Dataset rows must provide text and label/intent. The export keeps only
labels that exist on the agent's route and policy declarations:
on :GREETING, regex: ~r/^hi$/i do
reply :greeting
end
on :SPAM, via: [:classifier] do
reply :spam
endUsage
mix spectre.classifier.dataset MyApp.Agent training/dataset.json --source training/raw.jsonOptions
--source- additional labeled dataset source. May be passed more than once.--pretty- pretty-print JSON output.