PromptFunction type

A function that can be called from a prompt template string.

type PromptFunction = (
  context: TurnContext,
  memory: Memory,
  functions: PromptFunctions,
  tokenizer: Tokenizer,
  args: string[]
) => Promise<any>