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

Connected

Exercise

System messages for email assistant

Redwood Consulting handles C-suite clients who expect fast and clear emails. The new AI email assistant you're developing must use a concise tone, always include a subject, be brief, and close with actionable steps. Setting these rules once in a system message will save hundreds of keystrokes, and keep the brand voice rock-solid.

The anthropic library, client, and email_request prompt are pre-loaded.

Instructions

100 XP
  • Write a system message that defines the email assistant's behavior as professional and limits it to 150 words.
  • Pass in the system_msg as a parameter.
  • Pass the complete messages array to the API call.