從 Knowledge/RAG 品質資料和度量取得洞察
若要分析 Knowledge/RAG 品質資料和度量資料,您可以使用預先建置的顯示面板和報告,也可以 Build Your Own。您也可以對 DMO 執行查詢。
必要版本
| 提供版本:Lightning Experience |
| 提供版本:Enterprise、Performance、Unlimited 及 Developer Edition。所需附加元件授權會因工作人員類型而有所不同。 |
| 需要的使用者權限 | |
|---|---|
| 檢視和存取報告和顯示面板 | Data Cloud 使用者 |
若要存取預先建立的報告和顯示面板,請確定您擁有 Data Cloud 使用者權限。請參閱 建立 Data Cloud 使用者和指派權限。
使用 Agent Analytics
在 Agent Analytics 中監視品質分數。
使用 Agent Analytics 檢視「平均回答忠誠度分數」、「平均回答相關性分數」和「平均內容相關性分數」的資料。若要深入瞭解,請參閱 Agent Analytics。
使用內建顯示面板
在 Knowledge/RAG 品質資料與度量的內建顯示面板中監視品質分數。
- 按一下「App Launcher」,然後在搜尋欄位中輸入 Data Cloud。
- 若要查看顯示面板,請從 Data Cloud 中按一下「顯示面板」。
- 按一下「資料夾」下的「所有資料夾」。
- 在「資料夾」欄中,按一下「Knowledge/RAG 品質」 資料夾的連結。
-
選取「Knowledge/RAG 品質資料和度量」 顯示面板。
Knowledge/RAG 品質資料與度量的顯示面板
使用內建報告
使用 Knowledge/RAG 品質資料和度量的內建報告來監視品質分數。您可以從顯示面板建立報告,或依照下列指示建立報告。
- 按一下「App Launcher」,然後在搜尋欄位中輸入 Data Cloud。
- 若要查看報告,請從 Data Cloud 中按一下「報告」。
- 按一下「資料夾」下的「所有資料夾」。
- 在「資料夾」欄中,按一下「Knowledge/RAG 品質」 資料夾的連結。
-
選取報告。
Knowledge/RAG 品質資料和度量的報告
若要分析 Knowledge/RAG 品質資料與度量,您也可以在 Data 360 中建立自訂報告,這些報告可從 Knowledge/RAG 品質資料與度量資料資料模型中的 DMO 中提取相關資訊。若要深入瞭解,請參閱 Data 360 報告和顯示面板。
查詢資料模型
您可以在 Knowledge/RAG 品質資料和度量資料模型中對 DMO 執行臨時查詢。
撰寫臨時查詢,從 Knowledge/RAG 品質資料和度量的 資料模型 DMO 提取相關資訊。若要深入瞭解,請參閱 在 Data 360 中查詢資料。
範例查詢如下:
SELECT "AgentGeneratedResponseText__c",
"AiGatewayRequestId__c",
"AiResponseGenerationId__c",
"AiRetrieverRequestId__c",
"AnswerRelevancyScoreNumber__c",
"ContextPrecisionScoreNumber__c",
"CreatedById__c",
"CreatedDate__c",
"DataSourceObject__c",
"DataSource__c",
"ExternalRecordId__c",
"ExternalSourceId__c",
"FaithfulnessRelevancyScoreNumber__c",
"InternalOrganization__c",
"KQ_id__c",
"LastModifiedById__c",
"LastModifiedDate__c",
"LastProcessedReqTimestamp__c",
"RetrievedContextIdListText__c",
"RetrieverApiName__c",
"RetrieverTraceId__c",
"RetrieverTraceSpanId__c",
"SourceDocumentIdListText__c",
"SystemModstamp__c",
"UserUtteranceText__c",
"cdp_sys_PartitionDate__c",
"cdp_sys_SourceVersion__c",
"id__c",
"metricCreatedTimestamp__c",
"orgId__c"
FROM "AiRetrieverQualityMetric__dll"
LIMIT 10使用 Agentforce 工作階段追蹤資料聯結 Knowledge/RAG 品質資料
這些範例顯示如何將 Knowledge/RAG 品質資料與工作階段追蹤資料模型 (STDM) 中的資料聯結。
含查詢編輯器的範例
SELECT * FROM "ssot__AiAgentInteraction__dlm"
INNER JOIN "ssot__AiRetrieverQualityMetric__dlm" ON "ssot__AiAgentInteraction__dlm"."ssot__attributetext__c" LIKE CONCAT('%',"ssot__AiRetrieverQualityMetric__dlm"."ssot__RetrieverTraceId__c",'%') AND "ssot__AiAgentInteractionType__c"='TURN'
INNER JOIN "ssot__AiAgentInteractionMessage__dlm" ON "ssot__AiAgentInteractionMessage__dlm"."ssot__AiAgentInteractionId__c" = "ssot__AiAgentInteraction__dlm"."ssot__Id__c" AND "ssot__AiAgentInteractionMessageType__c"='Input'
INNER JOIN "ssot__AiAgentSessionParticipant__dlm" ON "ssot__AiAgentSessionParticipant__dlm"."ssot__Id__c" = "ssot__AiAgentInteractionMessage__dlm"."ssot__AiAgentSessionParticipantId__c" AND "ssot__AiAgentSessionParticipantRole__c"='USER'
INNER JOIN "ssot__AiAgentInteractionStep__dlm" ON
"ssot__AiAgentInteractionStep__dlm"."ssot__AiAgentInteractionId__c"="ssot__AiAgentInteraction__dlm"."ssot__Id__c" AND "ssot__AiAgentInteractionStepType__c"='ACTION_STEP'使用 Data 360 語意資料模型 (SDM) 的範例
SELECT * FROM "ssot__AiAgentInteraction__dlm"
JOIN "ssot__AiRetrieverQualityMetric__dlm" ON "ssot__TelemetryTraceId__c"="ssot__RetrieverTraceId__c"建立 Data 360 報告
若要分析 Knowledge/RAG 品質資料與度量,請在 Data 360 中建立報告,以從 AiRetrieverQualityMetric DMO 提取相關資訊。您可以使用已計算洞察建立可觸發警示的度量。若要深入瞭解,請參閱 Data 360 報告和顯示面板。
