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.