Documentation
¶
Overview ¶
Package locale validates the persisted UI locale and renders soft language guidance for human-facing LLM output.
Index ¶
Constants ¶
View Source
const MaxLength = 63
Variables ¶
This section is empty.
Functions ¶
func AppendReplyInstruction ¶
AppendReplyInstruction appends locale guidance to existing prompt instructions.
func BuildInstruction ¶
BuildInstruction returns language guidance for generated human-authored UI copy.
func Canonicalize ¶
Canonicalize parses a locale and returns its canonical BCP 47 form.
func ReplyInstruction ¶
ReplyInstruction returns soft language guidance for human-facing replies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.