Business Problem
Customers ask:
Where is my order?
Refund status?
Cancel order
Some answers require company data.
Architecture
Customer
API Gateway
Lambda
┌──────────────┐
│ Order System │
└──────────────┘
│
Amazon Bedrock
│
Claude / Nova Model
│
Customer
Flow
User:
Where is my order 123?
Lambda
↓
Order database lookup
↓
Send order details
↓
Prompt Bedrock
↓
Generate response
Services
API Gateway
Lambda
DynamoDB
Bedrock
IAM
CloudWatch
Why Lambda?
LLMs should not directly access databases.
Lambda
validates user
retrieves order
formats prompt
Exam Twist
Which component should retrieve customer order?
Correct answer:
Lambda
NOT
Foundation model
No comments:
Post a Comment