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