Skip to main content

Function: getBiggestPrompt()

getBiggestPrompt(prompts): PromptTemplate

Get biggest empty prompt size from a list of prompts. Used to calculate the maximum size of inputs to the LLM.

Parameters

prompts: PromptTemplate<string[], string[], string>[]

Returns

PromptTemplate

Defined in

packages/core/dist/indices/index.d.ts:10