LLM Wrapper to use
OptionalllmKwargs to pass to LLM
OptionalmemoryKey to use for output, defaults to text
OptionaloutputOutputParser to use
Prompt object to use
Return the string type key uniquely identifying this class of chain.
Protected_Run the core logic of this chain and add to output if desired.
Wraps _call and handles memory.
Optionalconfig: anyInvoke the chain with the provided input and returns the output.
Input values for the chain run.
Optionaloptions: anyPromise that resolves with the output of the chain run.
StaticdeserializeLoad a chain from a json-like object describing it.
StaticfromStatic method to create a new TaskPrioritizationChain from a BaseLanguageModel. It generates a prompt using the PromptTemplate class and the task prioritization template, and returns a new instance of TaskPrioritizationChain.
Object with fields used to initialize the chain, excluding the prompt.
A new instance of TaskPrioritizationChain.
Staticlc_
Chain to prioritize tasks.