ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား

Monitoring FM quality in production

Infrastructure metrics cannot tell if answers are good. Sample live traffic, score it, and alarm on the scores.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Live traffic
Sample
Judge scores
Custom metric
Alarm
Live traffic is sampled, scored, and turned into an alarm.

Live traffic is sampled, scored, and turned into an alarm.

  • Judge score

    Source
    Evaluation on sampled pairs
    Worry when
    Average falls
  • Intervention rate

    Source
    Guardrails metrics
    Worry when
    Rate jumps
  • Grounding score

    Source
    Contextual grounding check
    Worry when
    Scores drop
  • User feedback

    Source
    Thumbs in your app
    Worry when
    Down votes rise
  • Truncation

    Source
    Stop reason max_tokens
    Worry when
    Share rises
  • Latency

    Source
    Bedrock metrics
    Worry when
    P99 rises
Six signals for FM quality.

1 / 2

  • Judge score

    Source
    Evaluation on sampled pairs
    Worry when
    Average falls
  • Intervention rate

    Source
    Guardrails metrics
    Worry when
    Rate jumps
  • Grounding score

    Source
    Contextual grounding check
    Worry when
    Scores drop

2 / 2

  • User feedback

    Source
    Thumbs in your app
    Worry when
    Down votes rise
  • Truncation

    Source
    Stop reason max_tokens
    Worry when
    Share rises
  • Latency

    Source
    Bedrock metrics
    Worry when
    P99 rises
Six signals for FM quality.

ဘာလဲ

A foundation model (FM) can run with no errors and low latency while its answers get worse. Quality monitoring scores real traffic. Take a sample of production prompt and response pairs, for example a few percent, from invocation logs or from your app. Score them with a judge model or with Amazon Bedrock evaluation jobs: correctness, helpfulness, faithfulness to the retrieved text. Publish each score as a CloudWatch custom metric and alarm when the average drops. For agents, Amazon Bedrock AgentCore Evaluations does the sampling itself: online evaluation samples a share of live traces and scores them with built-in or custom evaluators, and the results appear in the CloudWatch dashboards.

ဘာလဲ

Add cheap signals that need no judge. The guardrail intervention rate shows how often safety filters fire: Guardrails publishes metrics such as InvocationsIntervened in the AWS/Bedrock/Guardrails namespace. Contextual grounding scores show answers that stray from the source text in a RAG app. User feedback, such as a thumbs up or down, is a direct signal, so store it as a metric. Truncation shows as a stop reason of max_tokens: answers cut short because the output limit is too small. Latency and time to first token show a slow model.

ဘာလဲ

Model version changes are a common cause of quality drops. Before you switch, run the same fixed test set through the old and the new version and compare scores. After the switch, keep watching the same metrics, and keep the old version ready to switch back. A shadow or A/B split lets you compare versions on live traffic.

မှတ်ထားရန်

  • Sample a share of live prompt and response pairs and score them with a judge.
  • Publish scores as CloudWatch custom metrics, then alarm on the average.
  • Guardrail interventions, grounding scores and user feedback need no judge.
  • Stop reason max_tokens means truncated answers.

မှတ်ထားရန်

  • AgentCore Evaluations samples live agent traces for you.
  • Test a new model version on a fixed set first, and keep the old one ready.

စာမေးပွဲမှာ

  • “Detect falling answer quality in production without errors” points to sampled traffic scored by a judge model or AgentCore online evaluation.
  • “Answers in a RAG app drift from the source documents” points to contextual grounding scores or faithfulness scores.
  • “A new model version may be worse” points to running a test set through both versions, then a shadow or A/B split.
  • “Answers end in mid-sentence” points to truncation: raise the max tokens limit.