Language model to use, assumed to support the OpenAI function-calling API.
BasePromptTemplate to pass to the model.
Optional
enforceOnly used if a single function is passed in. If true
, then the model will be
forced to use the given function. If false
, then the model will be given the
option to use the given function or not.
Optional
outputBaseLLMOutputParser to use for parsing model outputs. By default will be inferred from the function types.
Generated using TypeDoc
Configuration params for the createOpenAIFnRunnable method.