1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to Claude Models

Connected

练习

End-to-end Claude prompting

As part of a company hackathon, your team is prototyping QuickAid, a help-desk bot for event attendees. Step one is to prove you can hit the Claude API from Python, get a live response, and print it to the console. Nail this, and the judges will green-light the rest of your prototype.

说明

100 XP
  • Initialize the Anthropic client.
  • Set the parameter to specify the Claude Sonnet model.