import { ... } from "@langchain/core/memory";This function is used by memory classes to select the input value to use for the memory. If there is only one input value, it is used. If there are multiple input values, the inputKey must be specified.
This function is used by memory classes to select the output value to use for the memory. If there is only one output value, it is used. If there are multiple output values, the outputKey must be specified. If no outputKey is specified, an error is thrown.
Function used by memory classes to get the key of the prompt input, excluding any keys that are memory variables or the "stop" key. If there is not exactly one prompt input key, an error is thrown.
Type alias for a record where the keys are strings and the values can be any type. This is used to represent the input values for a Chain.
Type alias for a record where the keys are strings and the values can be any type. This is used to represent the memory variables in a Chain.
Type alias for a record where the keys are strings and the values can be any type. This is used to represent the output values from a Chain.