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.
Language model to use, assumed to support the OpenAI function-calling API.
Optional
outputBaseLLMOutputParser to use for parsing model outputs. By default will be inferred from the function types.
BasePromptTemplate to pass to the model.
Configuration params for the createOpenAIFnRunnable method.