Interface that extends ZeroShotCreatePromptArgs and adds an optional topK parameter for specifying the number of results to return.

Hierarchy

Properties

inputVariables?: string[]

List of input variables the final prompt will expect.

prefix?: string

String to put before the list of tools.

suffix?: string

String to put after the list of tools.

topK?: number

Number of results to return.

Generated using TypeDoc