Sensemaking Tools Documentation
    Preparing search index...

    Class ModelAbstract

    Index

    Constructors

    Properties

    categorizationBatchSize: number = 100

    Methods

    • Abstract method for generating structured data based on the given prompt.

      Parameters

      • prompt: string

        the instructions and data to process as a prompt

      • schema: TSchema

        the schema to use for the structured data

      Returns Promise<unknown>

      the model response

    • Abstract method for generating a text response based on the given prompt.

      Parameters

      • prompt: string

        the instructions and data to process as a prompt

      Returns Promise<string>

      the model response