Member Junction
    Preparing search index...
    • Parses a discovery corpus.jsonl. Blank lines are skipped. Throws a DecisionCorpusError naming the line when a line is not JSON, does not match the request schema, or repeats an ID.

      Parameters

      • text: string

        The file's text.

      • fileName: string = 'corpus.jsonl'

        The file's name, for messages.

      Returns { created_at: string; id: string; request: string }[]