From the course: Building Applications Using Amazon Bedrock

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Testing the agent in the AWS console

Testing the agent in the AWS console

- [Instructor] Now it's time for us to test out our agent. So from the Amazon Bedrock Overview page, let's click on Agents. And then let's select the agent we created. In this case, it was hr-agent. We had created a specific alias, so we can select that, Version 1, from the dropdown menu at the top. And now let's ask our agent a question. If you remember, we had connected the agent to our knowledge base, which was the indexed employee PDF document. As a result of this, the agent should be able to not only answer questions relating to PTO, or paid time off, but it should also be able to process and handle any kind of question pertaining to that document. And that's pretty cool. So let's test this out. Let's ask the agent a question where it could retrieve information from the PDF document. So we're going to say here, let's see, "What is the dress code?" Obviously, that information is in our guidance. And let's see…

Contents