Member Junction
    Preparing search index...
    • Each request's label from one source. The same label given twice is fine; two different labels from the same source for one request throw, naming both lines.

      Parameters

      • labels: readonly NumberedLine<
            | { agentId: string; id: string; label: "agent"; source: string }
            | {
                id: string;
                kind: "chat" | "direct" | "workflow";
                label: "none";
                source: string;
            },
        >[]

        The parsed label lines.

      • source: string

        The label source, such as construction.

      • fileName: string = 'labels.jsonl'

        The label file's name, for messages.

      Returns Map<
          string,
          | { agentId: string; label: "agent" }
          | { kind: "chat" | "direct" | "workflow"; label: "none" },
      >