Package org.springframework.ai.chain
Class AbstractChain
java.lang.Object
org.springframework.ai.chain.AbstractChain
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AiOutputpostProcess(AiInput aiInput, AiOutput aiOutput) preProcess(AiInput aiInput) voidprotected voidvalidateInputs(Map<String, Object> inputMap) protected voidvalidateOutputs(Map<String, Object> outputMap)
-
Constructor Details
-
AbstractChain
public AbstractChain()
-
-
Method Details
-
getMemory
-
setMemory
-
getInputKeys
- Specified by:
getInputKeysin interfaceChain
-
getOutputKeys
- Specified by:
getOutputKeysin interfaceChain
-
apply
-
preProcess
- Specified by:
preProcessin interfaceChain
-
doApply
-
postProcess
- Specified by:
postProcessin interfaceChain
-
validateOutputs
-
validateInputs
-