Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(filters): add available and loaded skill name filters (#19279)

tobi_kl2ea74cc6fcae
diff --git a/web/src/features/events/config/filter-config.ts b/web/src/features/events/config/filter-config.ts
index 85ae548dbe..d84773f74b 100644
--- a/web/src/features/events/config/filter-config.ts
+++ b/web/src/features/events/config/filter-config.ts
@@ -308,6 +308,16 @@ export const observationEventsFilterConfig: FilterConfig = {
column: "calledToolNames",
label: "Tool Names (Called)",
},
+ {
+ type: "categorical" as const,
+ column: "skillNamesAvailable",
+ label: "Skill Names (Available)",
+ },
+ {
+ type: "categorical" as const,
+ column: "skillsNamesLoaded",
+ label: "Skill Names (Loaded)",
+ },
{
type: "numeric" as const,
column: "toolDefinitions",
diff --git a/web/src/features/events/hooks/useEventsFilterOptions.ts b/web/src/features/events/hooks/useEventsFilterOptions.ts
index 6fa9766b5a..91b2332ae7 100644
--- a/web/src/features/events/hooks/useEventsFilterOptions.ts
+++ b/web/src/features/events/hooks/useEventsFilterOptions.ts
@@ -50,6 +50,8 @@ const ALL_EVENT_FILTER_OPTION_COLUMNS = [
"isRootObservation",
"toolNames",
"calledToolNames",
+ "skillNamesAvailable",
+ "skillsNamesLoaded",
"scores_avg",
"score_categories",
"score_booleans",
@@ -386,6 +388,8 @@ export function useEventsFilterOptions({
isRootObservation: rawData.isRootObservation ?? undefined,
toolNames: rawData.toolNames ?? undefined,
calledToolNames: rawData.calledToolNames ?? undefined,
+ skillNamesAvailable: rawData.skillNamesAvailable ?? undefined,
+ skillsNamesLoaded: rawData.skillsNamesLoaded ?? undefined,
toolDefinitions: [],
toolCalls: [],
latency: [],
diff --git a/web/src/features/search-bar/lib/fields.ts b/web/src/features/search-bar/lib/fields.ts
index f10eaad748..01c3c73a22 100644
--- a/web/src/features/search-bar/lib/fields.ts
+++ b/web/src/features/search-bar/lib/fields.ts
@@ -408,6 +408,8 @@ export const FIELDS: FieldDef[] = [
{ id: "hasOutput", aliases: ["hasoutput", "has_output"], kind: "boolean", syncMode: "textSearch", label: "Has output", negatedLabel: "Has no output", description: "Whether the observation has output" },
{ id: "toolNames", aliases: ["toolnames", "tool_names"], kind: "text", syncMode: "arrayOption", label: "Available tools", description: "Available tool names", nullable: true },
{ id: "calledToolNames", aliases: ["calledtoolnames", "called_tool_names", "calledtools", "called_tools"], kind: "text", syncMode: "arrayOption", label: "Called tools", description: "Called tool names", nullable: true },
+ { id: "skillNamesAvailable", aliases: ["availableSkills", "available_skills"], kind: "text", syncMode: "arrayOption", label: "Available skills", description: "Available skill names" },
+ { id: "skillsNamesLoaded", aliases: ["loadedSkills", "loaded_skills"], kind: "text", syncMode: "arrayOption", label: "Loaded skills", description: "Loaded skill names" },
{ id: "toolDefinitions", aliases: ["tooldefinitions", "tool_definitions"], kind: "number", syncMode: "textSearch", label: "Available tool count", description: "Available tool count", nullable: true },
{ id: "toolCalls", aliases: ["toolcalls", "tool_calls"], kind: "number", syncMode: "textSearch", label: "Tool call count", description: "Tool call count", nullable: true },
{ id: "commentCount", aliases: ["commentcount", "comment_count"], kind: "number", syncMode: "textSearch", label: "Comment count", description: "Comment count" },