1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Claude Models

Connected

Exercise

Text summarization with Claude

You’re the content strategist at the e-gaming firm Nebula Forge Games, preparing to ship the newest edition of Skybound Legends. The development team just published a developer article describing new features, but you need to extract a blurb for social media audiences. Squeeze that article into an engaging 2-sentence teaser that is accessible for social-media audiences.

The anthropic library, client, and article_text string are pre-loaded.

Instructions

100 XP
  • Set the system message to establish an engaging, accessible tone for social media audiences.
  • Create a user prompt that asks for a 2-3 sentence summary of the article.
  • Set max_tokens to limit the response to 100 characters.