@description / @@description
The @description
attribute in BAML provides additional context to fields or values in prompts. This can help the LLM understand the intended use or meaning of a field or value.
Prompt Impact
Without @description
BAML
ctx.output_format:
With @description
BAML
ctx.output_format:
Prompt Impact (enum - value)
Without @description
BAML
ctx.output_format:
With @description
BAML
ctx.output_format:
Prompt Impact (enum)
BAML
ctx.output_format: