Create Bedrock Agent:
HealthCareGenAI
Responsible AI:
Inference parameters:
Temperature:
Randomness
Degree of variability in response
Set temperature to 0, no variability
Top P & Top K:
Don’t want creativity
1: most probable tokens to generate next token
0: choose smaller number of next token for output
Guardrail: harmful categories & prompt attacks filters:
Guardrail: denied topic:
Name:
Medical Advice
Definition For Topic:
Discussions that involve providing guidance, recommendations, or suggestions related to health, medical treatments, symptoms, or overall wellness.
Sample Phrases:
- How to manage chronic pain?
- Recommend a diet for heart health.
- What to do for persistent headaches?
- Is it safe to combine medications?
- How to improve mental well-being?
Guardrail: sensitive information filters:
Name: Account Number
Regex pattern: [A-Za-z]{6}\d{4}
Guardrail behavior: Mask
Add description - optional: Matches account numbers in the format XXXXXX1234
Guardrail: contextual grounding check:
Advantages of AWS Bedrock Agent:
Secure Data:
- Data securely executed on AWS user VPC.
Seamless Integration:
- Integrates seamlessly with the SDK.
Auto Scalable Operations:
- Auto scales to handle data volumes.
Reduced Operational Overhead:
- Minimizes on-premises infrastructure.
Simplified Compliance:
- Facilitates compliance with data regulations.
Flexible Configuration:
- Offers customizable configuration options.
SOCIAL SHARE CARD GENERATOR