A class that represents the Prompt that has been created by MakerSuite and loaded from Google Drive. It exposes methods to turn this prompt into a Template, a Model, and into a chain consisting of these two elements. In general, this class should be created by the MakerSuiteHub class and not instantiated manually.

Constructors

Properties

promptType: MakerSuitePromptType

Methods

  • Create a RunnableSequence based on the template and model that can be created from this prompt. The template will have parameters available based on the "test input" that was set in MakerSuite, and the model will have the parameters (model name, temperature, etc) from those in MakerSuite.

    Returns Runnable<any, any, RunnableConfig<Record<string, any>>>