1. 学ぶ
  2. /
  3. コース
  4. /
  5. Introduction to Claude Models

Connected

演習

Extracting Claude's response

At the hackathon, your teammate needs the exact reply text to wire into the React front-end. Show them how to slice the response object and print just Claude’s answer, so that it can be displayed on your app.

指示

100 XP
  • Extract and print Claude's response from the given response object.