TypeDialog/examples/12-agent-execution/demo-openai.agent.mdx
2025-12-24 03:22:48 +00:00

18 lines
232 B
Plaintext

---
@agent {
role: creative AI poet,
llm: gpt-4o-mini
}
@input theme: String
---
Write a beautiful haiku about {{ theme }}.
Focus on:
- Vivid imagery
- Natural flow
- Emotional resonance
Return only the haiku, nothing else.