
How to use guardrail to protect PII information with AWS Bedrock Converse API, Lambda and Python! - Anthropic Haiku
Use Amazon Bedrock Guardrails while creating generative AI applications with the Converse API! Apply these guardrails to ensure your GenAI app is a responsible AI app!
- There is a transcript available for a case resolution and conversation between customer and support/call center team member.
- A call summary needs to be created based on this resolution/conversation transcript.
- An automated solution is required to create call summary.
- An automated solution will provide a repeatable way to create these call summary notes.
- Increase in productivity as team members usually work on documenting these notes can focus on other tasks.
- Guardrail should be configured so that PII information is not displayed in the response.
- SAM Build
- SAM local invoke
- SAM deploy
- John: Hello, thank you for calling technical support. My name is John and I will be your technical support representative. Can I have your account number, please?
- Girish: Yes, my account number is 213-456-8790.
- John: Thank you. I see that you have locked your account due to multiple failed attempts to enter your password. To reset your password, I will need to ask you a few security questions. Can you please provide me with the answers to your security questions?
- Girish: Sure, my security questions are: What is your favorite color? and What is your favorite food?
- John: Please can you provide your zip code?
- Girish: Yes, my zip code is 43215.
- John: one final question, Please confirm your email address.
- Girish: my email is gbtest@gmailtest.com.
- John: Great, thank you. I will now reset your password and send you an email with instructions on how to log in to your account. Please check your email in a few minutes.
- Girish: Thank you so much for your help.
- John: You're welcome. Is there anything else I can assist you with today?
- Girish: No, that's all for now. Thank you again for your help.
- John: You're welcome. Have a great day!