Base interface for language model parameters. A subclass of BaseLanguageModel should have a constructor that takes in a parameter that extends this interface.
interface BaseLLMParamsCallbacks for this call and any sub-calls (eg. a Chain calling an LLM). Tags are passed to all callbacks, metadata is passed to handle*Start callbacks.
Maximum number of parallel calls to make.
The maximum number of retries that can be made for a single call, with an exponential backoff between each attempt. Defaults to 6.
Custom handler to handle failed attempts. Takes the originally thrown error object as input, and should itself throw an error if the input error is not retryable.
Callbacks for this call and any sub-calls (eg. a Chain calling an LLM).
Maximum number of parallel calls to make.
The maximum number of retries that can be made for a single call,
Custom handler to handle failed attempts. Takes the originally thrown