Class GroundingModuleConfigConfigPlaceholders
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.GroundingModuleConfigConfigPlaceholders
Placeholders to be used for grounding input questions and output
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for GroundingModuleConfigConfigPlaceholders. -
Method Summary
Modifier and TypeMethodDescriptionaddInputItem(String inputItem) Add one input instance to thisGroundingModuleConfigConfigPlaceholders.create()Create a type-safe, fluent-api builder object to construct a newGroundingModuleConfigConfigPlaceholdersinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theGroundingModuleConfigConfigPlaceholders.getInput()Contains the input parameters used for grounding input questionsPlaceholder name for grounding outputinthashCode()Set the input of thisGroundingModuleConfigConfigPlaceholdersinstance and return the same instance.Set the output of thisGroundingModuleConfigConfigPlaceholdersinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisGroundingModuleConfigConfigPlaceholdersinstance.voidSet the input of thisGroundingModuleConfigConfigPlaceholdersinstance.voidSet the output of thisGroundingModuleConfigConfigPlaceholdersinstance.toMap()Get the value of all properties of thisGroundingModuleConfigConfigPlaceholdersinstance including unrecognized properties.toString()
-
Constructor Details
-
GroundingModuleConfigConfigPlaceholders
protected GroundingModuleConfigConfigPlaceholders()Default constructor for GroundingModuleConfigConfigPlaceholders.
-
-
Method Details
-
input
Set the input of thisGroundingModuleConfigConfigPlaceholdersinstance and return the same instance.- Parameters:
input- Contains the input parameters used for grounding input questions- Returns:
- The same instance of this
GroundingModuleConfigConfigPlaceholdersclass
-
addInputItem
Add one input instance to thisGroundingModuleConfigConfigPlaceholders.- Parameters:
inputItem- The input that should be added- Returns:
- The same instance of type
GroundingModuleConfigConfigPlaceholders
-
getInput
Contains the input parameters used for grounding input questions- Returns:
- input The input of this
GroundingModuleConfigConfigPlaceholdersinstance.
-
setInput
Set the input of thisGroundingModuleConfigConfigPlaceholdersinstance.- Parameters:
input- Contains the input parameters used for grounding input questions
-
output
Set the output of thisGroundingModuleConfigConfigPlaceholdersinstance and return the same instance.- Parameters:
output- Placeholder name for grounding output- Returns:
- The same instance of this
GroundingModuleConfigConfigPlaceholdersclass
-
getOutput
Placeholder name for grounding output- Returns:
- output The output of this
GroundingModuleConfigConfigPlaceholdersinstance.
-
setOutput
Set the output of thisGroundingModuleConfigConfigPlaceholdersinstance.- Parameters:
output- Placeholder name for grounding output
-
getCustomFieldNames
Get the names of the unrecognizable properties of theGroundingModuleConfigConfigPlaceholders.- 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 thisGroundingModuleConfigConfigPlaceholdersinstance.- 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 thisGroundingModuleConfigConfigPlaceholdersinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisGroundingModuleConfigConfigPlaceholdersinstance. 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 type-safe, fluent-api builder object to construct a newGroundingModuleConfigConfigPlaceholdersinstance with all required arguments.
-
toMap()instead.