Class ModuleResultsStreaming
java.lang.Object
com.sap.ai.sdk.orchestration.model.ModuleResultsStreaming
Streaming results of each module.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for ModuleResultsStreaming. -
Method Summary
Modifier and TypeMethodDescriptionaddOutputUnmaskingItem(LLMChoiceStreaming outputUnmaskingItem) Add one outputUnmasking instance to thisModuleResultsStreaming.addTemplatingItem(ChatMessage templatingItem) Add one templating instance to thisModuleResultsStreaming.static ModuleResultsStreamingcreate()Create a newModuleResultsStreaminginstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theModuleResultsStreaming.Get groundingGet inputFilteringGet inputMaskingGet inputTranslationgetLlm()Get llmGet outputFilteringGet outputTranslationGet outputUnmaskingGet templatinggrounding(GenericModuleResult grounding) Set the grounding of thisModuleResultsStreaminginstance and return the same instance.inthashCode()inputFiltering(GenericModuleResult inputFiltering) Set the inputFiltering of thisModuleResultsStreaminginstance and return the same instance.inputMasking(GenericModuleResult inputMasking) Set the inputMasking of thisModuleResultsStreaminginstance and return the same instance.inputTranslation(InputTranslationModuleResult inputTranslation) Set the inputTranslation of thisModuleResultsStreaminginstance and return the same instance.Set the llm of thisModuleResultsStreaminginstance and return the same instance.outputFiltering(GenericModuleResult outputFiltering) Set the outputFiltering of thisModuleResultsStreaminginstance and return the same instance.outputTranslation(GenericModuleResult outputTranslation) Set the outputTranslation of thisModuleResultsStreaminginstance and return the same instance.outputUnmasking(List<LLMChoiceStreaming> outputUnmasking) Set the outputUnmasking of thisModuleResultsStreaminginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisModuleResultsStreaminginstance.voidsetGrounding(GenericModuleResult grounding) Set the grounding of thisModuleResultsStreaminginstance.voidsetInputFiltering(GenericModuleResult inputFiltering) Set the inputFiltering of thisModuleResultsStreaminginstance.voidsetInputMasking(GenericModuleResult inputMasking) Set the inputMasking of thisModuleResultsStreaminginstance.voidsetInputTranslation(InputTranslationModuleResult inputTranslation) Set the inputTranslation of thisModuleResultsStreaminginstance.voidSet the llm of thisModuleResultsStreaminginstance.voidsetOutputFiltering(GenericModuleResult outputFiltering) Set the outputFiltering of thisModuleResultsStreaminginstance.voidsetOutputTranslation(GenericModuleResult outputTranslation) Set the outputTranslation of thisModuleResultsStreaminginstance.voidsetOutputUnmasking(List<LLMChoiceStreaming> outputUnmasking) Set the outputUnmasking of thisModuleResultsStreaminginstance.voidsetTemplating(List<ChatMessage> templating) Set the templating of thisModuleResultsStreaminginstance.templating(List<ChatMessage> templating) Set the templating of thisModuleResultsStreaminginstance and return the same instance.toMap()Get the value of all properties of thisModuleResultsStreaminginstance including unrecognized properties.toString()
-
Constructor Details
-
ModuleResultsStreaming
protected ModuleResultsStreaming()Default constructor for ModuleResultsStreaming.
-
-
Method Details
-
grounding
Set the grounding of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
grounding- The grounding of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
getGrounding
Get grounding- Returns:
- grounding The grounding of this
ModuleResultsStreaminginstance.
-
setGrounding
Set the grounding of thisModuleResultsStreaminginstance.- Parameters:
grounding- The grounding of thisModuleResultsStreaming
-
templating
Set the templating of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
templating- The templating of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
addTemplatingItem
Add one templating instance to thisModuleResultsStreaming.- Parameters:
templatingItem- The templating that should be added- Returns:
- The same instance of type
ModuleResultsStreaming
-
getTemplating
Get templating- Returns:
- templating The templating of this
ModuleResultsStreaminginstance.
-
setTemplating
Set the templating of thisModuleResultsStreaminginstance.- Parameters:
templating- The templating of thisModuleResultsStreaming
-
inputTranslation
@Nonnull public ModuleResultsStreaming inputTranslation(@Nullable InputTranslationModuleResult inputTranslation) Set the inputTranslation of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
inputTranslation- The inputTranslation of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
getInputTranslation
Get inputTranslation- Returns:
- inputTranslation The inputTranslation of this
ModuleResultsStreaminginstance.
-
setInputTranslation
Set the inputTranslation of thisModuleResultsStreaminginstance.- Parameters:
inputTranslation- The inputTranslation of thisModuleResultsStreaming
-
inputMasking
Set the inputMasking of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
inputMasking- The inputMasking of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
getInputMasking
Get inputMasking- Returns:
- inputMasking The inputMasking of this
ModuleResultsStreaminginstance.
-
setInputMasking
Set the inputMasking of thisModuleResultsStreaminginstance.- Parameters:
inputMasking- The inputMasking of thisModuleResultsStreaming
-
inputFiltering
Set the inputFiltering of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
inputFiltering- The inputFiltering of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
getInputFiltering
Get inputFiltering- Returns:
- inputFiltering The inputFiltering of this
ModuleResultsStreaminginstance.
-
setInputFiltering
Set the inputFiltering of thisModuleResultsStreaminginstance.- Parameters:
inputFiltering- The inputFiltering of thisModuleResultsStreaming
-
outputFiltering
@Nonnull public ModuleResultsStreaming outputFiltering(@Nullable GenericModuleResult outputFiltering) Set the outputFiltering of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
outputFiltering- The outputFiltering of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
getOutputFiltering
Get outputFiltering- Returns:
- outputFiltering The outputFiltering of this
ModuleResultsStreaminginstance.
-
setOutputFiltering
Set the outputFiltering of thisModuleResultsStreaminginstance.- Parameters:
outputFiltering- The outputFiltering of thisModuleResultsStreaming
-
outputTranslation
@Nonnull public ModuleResultsStreaming outputTranslation(@Nullable GenericModuleResult outputTranslation) Set the outputTranslation of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
outputTranslation- The outputTranslation of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
getOutputTranslation
Get outputTranslation- Returns:
- outputTranslation The outputTranslation of this
ModuleResultsStreaminginstance.
-
setOutputTranslation
Set the outputTranslation of thisModuleResultsStreaminginstance.- Parameters:
outputTranslation- The outputTranslation of thisModuleResultsStreaming
-
llm
Set the llm of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
llm- The llm of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
getLlm
Get llm- Returns:
- llm The llm of this
ModuleResultsStreaminginstance.
-
setLlm
Set the llm of thisModuleResultsStreaminginstance.- Parameters:
llm- The llm of thisModuleResultsStreaming
-
outputUnmasking
@Nonnull public ModuleResultsStreaming outputUnmasking(@Nullable List<LLMChoiceStreaming> outputUnmasking) Set the outputUnmasking of thisModuleResultsStreaminginstance and return the same instance.- Parameters:
outputUnmasking- The outputUnmasking of thisModuleResultsStreaming- Returns:
- The same instance of this
ModuleResultsStreamingclass
-
addOutputUnmaskingItem
@Nonnull public ModuleResultsStreaming addOutputUnmaskingItem(@Nonnull LLMChoiceStreaming outputUnmaskingItem) Add one outputUnmasking instance to thisModuleResultsStreaming.- Parameters:
outputUnmaskingItem- The outputUnmasking that should be added- Returns:
- The same instance of type
ModuleResultsStreaming
-
getOutputUnmasking
Get outputUnmasking- Returns:
- outputUnmasking The outputUnmasking of this
ModuleResultsStreaminginstance.
-
setOutputUnmasking
Set the outputUnmasking of thisModuleResultsStreaminginstance.- Parameters:
outputUnmasking- The outputUnmasking of thisModuleResultsStreaming
-
getCustomFieldNames
Get the names of the unrecognizable properties of theModuleResultsStreaming.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisModuleResultsStreaminginstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisModuleResultsStreaminginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisModuleResultsStreaminginstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a newModuleResultsStreaminginstance. No arguments are required.
-
toMap()instead.