TypeDialog/examples/12-agent-execution/demo-openai.agent.mdx

18 lines
232 B
Plaintext
Raw Permalink Normal View History

---
@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.