Interface for the input parameters of the LengthBasedExampleSelector class.

Hierarchy

  • LengthBasedExampleSelectorInput

Properties

examplePrompt: PromptTemplate<any, any>
getTextLength?: ((text) => number)

Type declaration

    • (text): number
    • Parameters

      • text: string

      Returns number

maxLength?: number

Generated using TypeDoc