Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
menu_book Course Curriculum (Generative AI) expand_more
Generative AI / Model Inputs

Structured prompts

Learn Structured prompts in Generative AI with a focused explanation, a topic-specific example, and a mastery check.

12 min read • Beginner
generative-ai-008.py
python
task={'goal':'extract invoice total','format':{'total':'number','currency':'string'}}
print(task)
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content