profile

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package profile adapts compression aggressiveness to the target model family. The trade-off differs per provider: families with cheap, reliable prompt caches deserve gentle treatment (preserve prefixes hard), while families without them reward stronger squeezing.

Presets are starting points grounded in that economics, not tuned claims; the eval suite (MVP step 6) is where they earn their numbers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParamsFor

func ParamsFor(f Family) compress.Params

ParamsFor returns the compression preset for a family.

Types

type Family

type Family int

Family identifies a model lineage.

const (
	Generic Family = iota
	Claude
	GPT
	DeepSeek
)

func Detect

func Detect(model string) Family

Detect maps a model identifier to its family by substring probes.

func (Family) String

func (f Family) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL