import { LogRecordsAvailableColumnsResponse } from "galileo-generated/models";
let value: LogRecordsAvailableColumnsResponse = {
columns: [
{
id: "input",
label: "Input",
category: "standard",
description: "Input to the trace or span.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"session",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "text",
},
{
id: "output",
label: "Output",
category: "standard",
description: "Output of the trace or span.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"session",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "text",
},
{
id: "name",
label: "Name",
category: "standard",
description: "Name of the trace, span or session.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"session",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "text",
},
{
id: "created_at",
label: "Created",
category: "standard",
description: "Timestamp of the trace or span's creation.",
groupLabel: "Standard",
dataType: "timestamp",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"session",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "date",
},
{
id: "tags",
label: "Tags",
category: "standard",
description: "Tags associated with this trace or span.",
groupLabel: "Standard",
dataType: "string_list",
multiValued: true,
sortable: false,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "collection",
},
{
id: "status_code",
label: "Status Code",
category: "standard",
description:
"Status code of the trace or span. Used for logging failure or error states.",
groupLabel: "Standard",
dataType: "integer",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
isOptional: true,
filterType: "number",
},
{
id: "external_id",
label: "External Id",
category: "standard",
description: "A user-provided session, trace or span ID.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"session",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
isOptional: true,
filterType: "text",
},
{
id: "dataset_input",
label: "Dataset Input",
category: "standard",
description: "Input to the dataset associated with this trace",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "text",
},
{
id: "dataset_output",
label: "Dataset Output",
category: "standard",
description: "Output from the dataset associated with this trace",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "text",
},
{
id: "id",
label: "ID",
category: "standard",
description: "Galileo ID of the session, trace or span",
groupLabel: "Standard",
dataType: "uuid",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"session",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "id",
},
{
id: "session_id",
label: "Session ID",
category: "standard",
description:
"Galileo ID of the session containing the trace (or the same value as id for a trace)",
groupLabel: "Standard",
dataType: "uuid",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "id",
},
{
id: "project_id",
label: "Project ID",
category: "standard",
description:
"Galileo ID of the project associated with this trace or span",
groupLabel: "Standard",
dataType: "uuid",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "id",
},
{
id: "run_id",
label: "Run ID",
category: "standard",
description:
"Galileo ID of the run (log stream or experiment) associated with this trace or span",
groupLabel: "Standard",
dataType: "uuid",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "id",
},
{
id: "updated_at",
label: "Last Updated",
category: "standard",
description: "Timestamp of the session or trace or span's last update",
groupLabel: "Standard",
dataType: "timestamp",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
isOptional: true,
filterType: "date",
},
{
id: "has_children",
label: "Has Children",
category: "standard",
description: "Whether or not this trace or span has child spans",
groupLabel: "Standard",
dataType: "boolean",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
isOptional: true,
filterType: "boolean",
},
{
id: "is_complete",
label: "Is Complete",
category: "standard",
description: "Whether the parent trace is complete or not",
groupLabel: "Standard",
dataType: "boolean",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "boolean",
},
{
id: "type",
label: "Type",
category: "standard",
description: "Type of the trace, span or session.",
groupLabel: "Standard",
dataType: "text",
allowedValues: [
"tool",
"session",
"trace",
"workflow",
"retriever",
"llm",
"agent",
],
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "text",
},
{
id: "trace_id",
label: "Trace ID",
category: "standard",
description:
"Galileo ID of the trace containing the span (or the same value as id for a trace)",
groupLabel: "Standard",
dataType: "uuid",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "id",
},
{
id: "parent_id",
label: "Parent ID",
category: "standard",
description: "Galileo ID of the parent of this span",
groupLabel: "Standard",
dataType: "uuid",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"workflow",
"retriever",
"llm",
"agent",
],
filterType: "id",
},
{
id: "step_number",
label: "Step Number",
category: "standard",
description: "Topological step number of the span.",
groupLabel: "Standard",
dataType: "integer",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
"workflow",
"retriever",
"llm",
"agent",
],
isOptional: true,
filterType: "number",
},
{
id: "agent_type",
label: "Agent Type",
category: "standard",
description: "Agent type.",
groupLabel: "Standard",
dataType: "text",
allowedValues: [
"router",
"supervisor",
"reflection",
"default",
"react",
"judge",
"classifier",
"planner",
],
sortable: true,
filterable: true,
applicableTypes: [
"agent",
],
filterType: "text",
},
{
id: "tools",
label: "Tools",
category: "standard",
description: "List of available tools passed to the LLM on invocation.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"llm",
],
filterType: "text",
},
{
id: "model",
label: "Model",
category: "standard",
description: "Model used for this span.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"llm",
],
isOptional: true,
filterType: "text",
},
{
id: "temperature",
label: "Temperature",
category: "standard",
description: "Temperature used for generation.",
groupLabel: "Standard",
dataType: "floating_point",
sortable: true,
filterable: true,
applicableTypes: [
"llm",
],
isOptional: true,
filterType: "number",
},
{
id: "finish_reason",
label: "Finish Reason",
category: "standard",
description: "Reason for finishing.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"llm",
],
isOptional: true,
filterType: "text",
},
{
id: "tool_call_id",
label: "Tool Call Id",
category: "standard",
description: "ID of the tool call.",
groupLabel: "Standard",
dataType: "text",
sortable: true,
filterable: true,
applicableTypes: [
"tool",
],
isOptional: true,
filterType: "text",
},
{
id: "metrics/toxicity",
label: "Output Toxicity (SLM)",
category: "metric",
description:
"Measures the presence and severity of harmful, offensive, or abusive language in the model's response",
groupLabel: "Safety Metrics",
dataType: "floating_point",
dataUnit: "percentage",
sortable: true,
filterable: true,
applicableTypes: [],
filterType: "number",
threshold: {
inverted: true,
buckets: [
0.5,
0.8,
],
displayValueLevels: [
"Low",
"Medium",
"High",
],
},
},
{
id: "metrics/bleu",
label: "BLEU - DEPRECATED",
category: "metric",
description:
"BLEU is a case-sensitive measurement of the difference between an model generation and target generation at the sentence-level.",
groupLabel: "Output Quality",
dataType: "floating_point",
sortable: true,
filterable: true,
applicableTypes: [],
filterType: "number",
},
],
};