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.
StaticfromCreates a new TaskCreationChain instance. It takes an object of type LLMChainInput as input, omitting the 'prompt' field. It uses the PromptTemplate class to create a new prompt based on the task creation template and the input variables. The new TaskCreationChain instance is then created with this prompt and the remaining fields from the input object.
An object of type LLMChainInput, omitting the 'prompt' field.
A new instance of TaskCreationChain.
Staticlc_
Chain to generate tasks.