LearnAI
Module 1 · How to talk to AI · Lesson 1/9
← Back to catalog
Task

Response format: pure JSON

The store needs AI to tag reviews. Write a prompt according to which the model will return ONLY JSON with fields sentiment and summary - without explanations and unnecessary text.

Unlock access to submit solutions for instant AI review.Start for free
Skill from 71% of AI Automation vacancies
💡 A bit of theory

The model repeats the format that was shown to her. If you want strict JSON, describe the scheme explicitly, say “only JSON without explanation,” or better yet, show one example.

How it's graded · passing score 70

  • 1The answer is valid JSON without text around it40%
  • 2There are both fields: sentiment and summary30%
  • 3sentiment — one of: positive/negative/neutral20%
  • 4summary no longer than 15 words10%
Your promptClaude ⌄