Class GroundingModuleConfigConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.GroundingModuleConfigConfig
GroundingModuleConfigConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for GroundingModuleConfigConfig. -
Method Summary
Modifier and TypeMethodDescriptionaddFiltersItem(GroundingModuleConfigConfigFiltersInner filtersItem) Add one filters instance to thisGroundingModuleConfigConfig.addMetadataParamsItem(String metadataParamsItem) Add one metadataParams instance to thisGroundingModuleConfigConfig.create()Create a type-safe, fluent-api builder object to construct a newGroundingModuleConfigConfiginstance with all required arguments.booleanSet the filters of thisGroundingModuleConfigConfiginstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theGroundingModuleConfigConfig.Document grounding service filters to be usedParameter name used for specifying metadata parametersGet placeholdersinthashCode()metadataParams(List<String> metadataParams) Set the metadataParams of thisGroundingModuleConfigConfiginstance and return the same instance.placeholders(GroundingModuleConfigConfigPlaceholders placeholders) Set the placeholders of thisGroundingModuleConfigConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisGroundingModuleConfigConfiginstance.voidSet the filters of thisGroundingModuleConfigConfiginstance.voidsetMetadataParams(List<String> metadataParams) Set the metadataParams of thisGroundingModuleConfigConfiginstance.voidsetPlaceholders(GroundingModuleConfigConfigPlaceholders placeholders) Set the placeholders of thisGroundingModuleConfigConfiginstance.toMap()Get the value of all properties of thisGroundingModuleConfigConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
GroundingModuleConfigConfig
protected GroundingModuleConfigConfig()Default constructor for GroundingModuleConfigConfig.
-
-
Method Details
-
filters
@Nonnull public GroundingModuleConfigConfig filters(@Nullable List<GroundingModuleConfigConfigFiltersInner> filters) Set the filters of thisGroundingModuleConfigConfiginstance and return the same instance.- Parameters:
filters- Document grounding service filters to be used- Returns:
- The same instance of this
GroundingModuleConfigConfigclass
-
addFiltersItem
@Nonnull public GroundingModuleConfigConfig addFiltersItem(@Nonnull GroundingModuleConfigConfigFiltersInner filtersItem) Add one filters instance to thisGroundingModuleConfigConfig.- Parameters:
filtersItem- The filters that should be added- Returns:
- The same instance of type
GroundingModuleConfigConfig
-
getFilters
Document grounding service filters to be used- Returns:
- filters The filters of this
GroundingModuleConfigConfiginstance.
-
setFilters
Set the filters of thisGroundingModuleConfigConfiginstance.- Parameters:
filters- Document grounding service filters to be used
-
placeholders
@Nonnull public GroundingModuleConfigConfig placeholders(@Nonnull GroundingModuleConfigConfigPlaceholders placeholders) Set the placeholders of thisGroundingModuleConfigConfiginstance and return the same instance.- Parameters:
placeholders- The placeholders of thisGroundingModuleConfigConfig- Returns:
- The same instance of this
GroundingModuleConfigConfigclass
-
getPlaceholders
Get placeholders- Returns:
- placeholders The placeholders of this
GroundingModuleConfigConfiginstance.
-
setPlaceholders
Set the placeholders of thisGroundingModuleConfigConfiginstance.- Parameters:
placeholders- The placeholders of thisGroundingModuleConfigConfig
-
metadataParams
Set the metadataParams of thisGroundingModuleConfigConfiginstance and return the same instance.- Parameters:
metadataParams- Parameter name used for specifying metadata parameters- Returns:
- The same instance of this
GroundingModuleConfigConfigclass
-
addMetadataParamsItem
@Nonnull public GroundingModuleConfigConfig addMetadataParamsItem(@Nonnull String metadataParamsItem) Add one metadataParams instance to thisGroundingModuleConfigConfig.- Parameters:
metadataParamsItem- The metadataParams that should be added- Returns:
- The same instance of type
GroundingModuleConfigConfig
-
getMetadataParams
Parameter name used for specifying metadata parameters- Returns:
- metadataParams The metadataParams of this
GroundingModuleConfigConfiginstance.
-
setMetadataParams
Set the metadataParams of thisGroundingModuleConfigConfiginstance.- Parameters:
metadataParams- Parameter name used for specifying metadata parameters
-
getCustomFieldNames
Get the names of the unrecognizable properties of theGroundingModuleConfigConfig.- 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 thisGroundingModuleConfigConfiginstance.- 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 thisGroundingModuleConfigConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisGroundingModuleConfigConfiginstance. 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 newGroundingModuleConfigConfiginstance with all required arguments.
-
toMap()instead.