From the course: Planning a Versioned RESTful API with Claude

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Iterative refinement process

Iterative refinement process

- [Instructor] Now, so far, we asked a question in a thread, we got a certain response, and we downloaded that response, which is the artifact. But what if the response that you received from Claude is not enough or you need to make a change? So it's always the case that the outcome that you are getting from a large language model may not be enough, and you want to iterate by asking more questions. And this is exactly what I'm going to demonstrate now in the case of API design. So I'm going to go to the first thread that we started with, which is creating the books. And we have a specification that was created sometime ago. Now, I want to change it to be specific about the headers that somebody can pass in based on the optional and required. So I'm going to paste the prompt that says update the artifact, which means this artifact that you created to include required and optional headers that must be passing to create a book. And then we're also asking it to create a final…

Contents