Documentation
¶
Overview ¶
Package judge provides local-model judges for the shadow-labeling flywheel: an embeddings-based similarity used to score whether a counterfactual tier's summary agrees with the reference summary (exact-match doesn't work for paraphrase). Calls the warm embeddinggemma on llama-swap :11436.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Embedder ¶
type Embedder struct {
// contains filtered or unexported fields
}
func NewEmbedder ¶
NewEmbedder builds an embedder that posts to endpoint/v1/embeddings using the given model. model is the caller's configured embedder (cfg.EmbedModel()) — this package never hardcodes a model name, so the harness stays model-agnostic.
Click to show internal directories.
Click to hide internal directories.