Dsxir.Optimizer.MIPROv2.Proposer.Tips (dsxir v0.3.0)

Copy Markdown

Static lookup of proposer "tips" — short stylistic hints prepended to the grounded-proposer prompt to nudge instruction-generation style.

Use :persona, :creative, :simple, :concise, a free-form binary, or nil. Unknown atoms resolve to nil.

Summary

Functions

Resolve a tip key to its prompt fragment. Returns the input string unchanged when given a binary, looks up known atoms in the static table, and returns nil for nil or unknown atoms.

Types

tip()

@type tip() :: atom() | String.t() | nil

Functions

resolve(tip)

@spec resolve(tip()) :: String.t() | nil

Resolve a tip key to its prompt fragment. Returns the input string unchanged when given a binary, looks up known atoms in the static table, and returns nil for nil or unknown atoms.