Lotus.AI.Prompts.Variables (Lotus v0.16.5)

Copy Markdown View Source

Source-agnostic variable system documentation for AI prompts.

Describes the Lotus variable framework (syntax, widget types, list expansion, config fields) independently of any query language. Query-language-specific prompt modules (e.g. SQLGeneration) call into this module and may append language-specific notes.

Summary

Functions

Returns the framework-level variable documentation block to embed in a system prompt.

Functions

system_docs()

@spec system_docs() :: String.t()

Returns the framework-level variable documentation block to embed in a system prompt.

Covers syntax, config fields, widget guidelines, list expansion behaviour, and the expected response format.