Tips and examples for writing effective prompts in Latitude.
<system>You are a helpful and friendly customer support agent for a SaaS company.</system>
<rules> You must never produce more than 5 lines. </rules>
schema
configuration for reliable JSON.{{ }}
), conditionals ({{ if … }}
), loops ({{ for … }}
), and snippets (<prompt path="...">
) for dynamic and reusable prompts. See the PromptL documentation.temperature
, maxTokens
, etc., in the configuration block for desired output style and length.latitude/search
for web searches).<system>
).{{ customer_email }}
, {{ customer_query }}
).get_customer_details
).schema
).