Logo
Section 1 / 5

使用基准测试和指标评估生成式 AI 系统

学习如何使用基准测试和指标来评估生成式 AI 系统,这些指标可诊断质量、安全、性能和成本,并将这些信号应用于基于 AWS 架构的模型选择、优化和故障排查。

导入

使用基准测试和指标评估生成式 AI 系统

学习如何使用基准测试和指标来评估生成式 AI 系统,这些指标可诊断质量、安全、性能和成本,并将这些信号应用于基于 AWS 架构的模型选择、优化和故障排查。

...
GenAI evaluation pipeline

Table

Metric CategoryWhat it DiagnosesExample AWS ToolsTypical Exam Scenario
RelevanceAlignment with user intentBedrock evaluations, LLM judgesThe answer is fluent but off-topic
FaithfulnessGrounding in source dataBedrock Knowledge BasesHallucinated facts in RAG
Retrieval qualityMissing or incomplete contextOpenSearch, vector DB configsPartially correct answers
Toxicity and biasUnsafe or harmful outputBedrock GuardrailsCompliance violations
LatencyResponsivenessCloudWatch metricsSlow interactive responses
CostEfficiencyBedrock invocation logsExcessive token usage

AI 系统的运营效率

生产环境生成式 AI 系统的自动评估任务