Package ai.protify.core.pipeline
Interface AIPipelineContext
-
- All Known Implementing Classes:
ProtifyAIPipelineContext
public interface AIPipelineContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddCustomProperty(java.lang.String key, java.lang.Object value)voidclearCustomProperties()java.util.Map<java.lang.String,java.lang.Object>getCustomContext()java.lang.ObjectgetCustomProperty(java.lang.String key)java.util.Set<java.lang.String>getCustomPropertyKeys()java.util.Map<AIConfigProperty,java.lang.Object>getPipelineProperties()AIResponsegetPreviousStepResponse()booleanhasCustomProperty(java.lang.String key)voidremoveCustomProperty(java.lang.String key)AIResponseresponse()voidsetPreviousStepResponse(AIResponse previousStepResponse)java.lang.Stringtext()
-
-
-
Method Detail
-
getPreviousStepResponse
AIResponse getPreviousStepResponse()
-
setPreviousStepResponse
void setPreviousStepResponse(AIResponse previousStepResponse)
-
getPipelineProperties
java.util.Map<AIConfigProperty,java.lang.Object> getPipelineProperties()
-
addCustomProperty
void addCustomProperty(java.lang.String key, java.lang.Object value)
-
getCustomProperty
java.lang.Object getCustomProperty(java.lang.String key)
-
removeCustomProperty
void removeCustomProperty(java.lang.String key)
-
hasCustomProperty
boolean hasCustomProperty(java.lang.String key)
-
clearCustomProperties
void clearCustomProperties()
-
getCustomPropertyKeys
java.util.Set<java.lang.String> getCustomPropertyKeys()
-
getCustomContext
java.util.Map<java.lang.String,java.lang.Object> getCustomContext()
-
response
AIResponse response()
-
text
java.lang.String text()
-
-