Member Junction
    Preparing search index...
    • Parses labels.jsonl. Blank lines are skipped. Throws a DecisionCorpusError naming the line when a line is not JSON or does not match the label schema.

      Parameters

      • text: string

        The file's text.

      • fileName: string = 'labels.jsonl'

        The file's name, for messages.

      Returns NumberedLine<
          {
              id: string;
              label: "continue"
              | "switch"
              | "ambiguous";
              note: string;
              source: string;
          },
      >[]