Sensemaking Tools Documentation
    Preparing search index...

    Class Summary

    Represents a summary composed of multiple SummaryContents. If a SummaryContent contains a claim, it should be grounded by representative comments.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    comments: Comment[]
    contents: SummaryContent[]

    An array of SummaryContent objects, each representing a part of the summary.

    Methods

    • Returns the text of the summary, formatted according to the specified citation format.

      Parameters

      • format: CitationFormat

        The desired format for citations. Can be "XML" or "MARKDOWN".

      Returns string

      The formatted summary text. Throws an error if an unsupported format is provided.

    • Filter the contents according to removeFn, using sensemaker utils filterSummaryContent

      Parameters

      • removeFn: (sc: SummaryContent) => boolean

        Decides whether SummaryContent object should be removed or not

      Returns Summary

      boolean