Trace Cluster Map

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Overview

You can identify drifts in your LLM applications by visualizing trace data in clusters on the Clusters page. Select an application configured with LLM Observability to view cluster information.

Cluster Maps display inputs or outputs, grouped by topic. Inputs and outputs are clustered separately. Topics are determined by clustering the selected input or output into text embeddings in high dimensions, then projecting them into a 2D space.

The scatter plot displays clusters of traces with color-coded topics and includes a panel listing clusters, trace counts, and failure rates.

You can visualize the clusters by using a Box Packing or Scatter Plot layout.

  • Box Packing gives you a grouped view of each of the clusters and overlays any metrics or evaluations on every trace.
  • Scatter Plot, on the other hand, allows you to view the high dimensional text embeddings in a 2D space, although the distance between each trace may be misleading due to projection distortion.

Cluster Maps provide an overview of each cluster’s performance across operational metrics, such as error types and latency, or out-of-the-box or custom evaluations, enabling you to identify trends such as topic drift and additional quality issues.

Search and manage clusters

Customize your search query by selecting the sorting options to narrow down the clusters based on your specific criteria, such as evaluation metrics or time periods, for more targeted analysis.

  1. Select inputs or outputs from the dropdown menu to see clusters for inputs or outputs grouped by topic.
  2. Select an evaluation type or an evaluation score to color-code the clusters. For example, Output Sentiment for “What is the sentiment of the output?” or duration for “How long does it take for an LLM to generate an output (in nanoseconds)?”
  3. Select a field for the clusters to be sorted by: time, duration, or color. Then, select desc or asc to set the order.

Select a topic cluster from the list to examine how inputs or outputs about specific topics perform against other topics for each metric or evaluation. You can also see individual prompts and responses for each cluster. For example, you can get an overview of your slowest topics when you overlay by duration.

The box packing layout displays clusters of traces represented by colored circles, and includes a panel listing clusters with topics, trace counts, and failure rates.

Further Reading