Directories
¶
| Path | Synopsis |
|---|---|
|
pkg
|
|
|
cascade
Package cascade is the one stage-cascade walk the engine and the classifier share: stages run in order, abstentions and below-gate decisions escalate, and the first confident decision (or Exhausted) is returned -- one place, no drift.
|
Package cascade is the one stage-cascade walk the engine and the classifier share: stages run in order, abstentions and below-gate decisions escalate, and the first confident decision (or Exhausted) is returned -- one place, no drift. |
|
classifier
Package classifier runs records through an ordered stage cascade, the library counterpart to the streaming engine.
|
Package classifier runs records through an ordered stage cascade, the library counterpart to the streaming engine. |
|
config
Package config parses and validates a declarative cascade configuration: a versioned YAML document that declares the input, the ordered stages and their gates, and where classified records are routed.
|
Package config parses and validates a declarative cascade configuration: a versioned YAML document that declares the input, the ordered stages and their gates, and where classified records are routed. |
|
domain
Package domain holds the core value types that flow through a ClassMesh pipeline.
|
Package domain holds the core value types that flow through a ClassMesh pipeline. |
|
engine
Package engine runs the classification cascade: records flow from a Source through an ordered list of Stages into a Sink.
|
Package engine runs the classification cascade: records flow from a Source through an ordered list of Stages into a Sink. |
|
fieldpath
Package fieldpath reads nested values out of a decoded JSON object (map[string]any) by path.
|
Package fieldpath reads nested values out of a decoded JSON object (map[string]any) by path. |
|
logfields
Package logfields extracts common fields from a text log line, best-effort: a leading timestamp, a level token, and logfmt key=value pairs.
|
Package logfields extracts common fields from a text log line, best-effort: a leading timestamp, a level token, and logfmt key=value pairs. |
|
sink
Package sink defines where classified records go: stdout, files, review queues, downstream pipelines.
|
Package sink defines where classified records go: stdout, files, review queues, downstream pipelines. |
|
sink/jsonl
Package jsonl implements sink.Sink as JSON Lines: one JSON object per classified record, the pipe-friendly lingua franca of log tooling.
|
Package jsonl implements sink.Sink as JSON Lines: one JSON object per classified record, the pipe-friendly lingua franca of log tooling. |
|
source
Package source defines where Records come from.
|
Package source defines where Records come from. |
|
source/jsonl
Package jsonl implements source.Source over JSON Lines: one JSON object per line.
|
Package jsonl implements source.Source over JSON Lines: one JSON object per line. |
|
source/textfile
Package textfile implements source.Source over line-oriented text: files and stdin.
|
Package textfile implements source.Source over line-oriented text: files and stdin. |
|
stage
Package stage defines the classification contract.
|
Package stage defines the classification contract. |
|
stage/mock
Package mock implements a stage.Stage that stands in for a model: it emits declared confidences below 1.0 so gates, escalation, and review routing can be exercised end to end before a real model stage exists.
|
Package mock implements a stage.Stage that stands in for a model: it emits declared confidences below 1.0 so gates, escalation, and review routing can be exercised end to end before a real model stage exists. |
|
stage/rules
Package rules implements stage.Stage with deterministic, YAML-defined matching: ordered rules of payload and field matchers mapped to categories.
|
Package rules implements stage.Stage with deterministic, YAML-defined matching: ordered rules of payload and field matchers mapped to categories. |
|
stage/schema
Package schema implements a stage.Stage that validates a structured record's decoded Fields against a declared shape.
|
Package schema implements a stage.Stage that validates a structured record's decoded Fields against a declared shape. |
|
tokenizer/wordpiece
Package wordpiece implements BERT-style WordPiece tokenization in pure Go, with no cgo and no external tokenizer runtime.
|
Package wordpiece implements BERT-style WordPiece tokenization in pure Go, with no cgo and no external tokenizer runtime. |
|
version
Package version exposes build metadata injected at link time via -ldflags.
|
Package version exposes build metadata injected at link time via -ldflags. |
Click to show internal directories.
Click to hide internal directories.