langchain.js
    Preparing search index...

    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.

    Index

    Constructors

    Properties

    promptType: MakerSuitePromptType

    Methods

    • Returns void

    • Returns IExample[]

    • Returns string

    • Returns string

    • Returns string

    • Returns string

    • Returns string

    • 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

    • Create a model from the prompt with all the parameters (model name, temperature, etc) set as they were in MakerSuite.

      Returns BaseLanguageModel

    • Create a template from the prompt, including any "test input" specified in MakerSuite as a template parameter.

      Returns PromptTemplate