Package com.sap.ai.sdk.grounding.model
Class RetrievalSearchInputPostProcessingInner
java.lang.Object
com.sap.ai.sdk.grounding.model.RetrievalSearchInputPostProcessingInner
RetrievalSearchInputPostProcessingInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RetrievalSearchInputPostProcessingInner. -
Method Summary
Modifier and TypeMethodDescriptionAdd one inputs instance to thisRetrievalSearchInputPostProcessingInner.create()Create a type-safe, fluent-api builder object to construct a newRetrievalSearchInputPostProcessingInnerinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRetrievalSearchInputPostProcessingInner.getId()New ID for each PostProcessingOperation.Get inputsMaximum number of chunks to be retained in final PerSearchFilterResult.Get strategyinthashCode()Set the id of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.Set the inputs of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.maxChunkCount(Integer maxChunkCount) Set the maxChunkCount of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRetrievalSearchInputPostProcessingInnerinstance.voidSet the id of thisRetrievalSearchInputPostProcessingInnerinstance.voidSet the inputs of thisRetrievalSearchInputPostProcessingInnerinstance.voidsetMaxChunkCount(Integer maxChunkCount) Set the maxChunkCount of thisRetrievalSearchInputPostProcessingInnerinstance.voidSet the strategy of thisRetrievalSearchInputPostProcessingInnerinstance.Set the strategy of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.toMap()Get the value of all properties of thisRetrievalSearchInputPostProcessingInnerinstance including unrecognized properties.toString()
-
Constructor Details
-
RetrievalSearchInputPostProcessingInner
protected RetrievalSearchInputPostProcessingInner()Default constructor for RetrievalSearchInputPostProcessingInner.
-
-
Method Details
-
id
Set the id of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.- Parameters:
id- New ID for each PostProcessingOperation.- Returns:
- The same instance of this
RetrievalSearchInputPostProcessingInnerclass
-
getId
New ID for each PostProcessingOperation.- Returns:
- id The id of this
RetrievalSearchInputPostProcessingInnerinstance.
-
setId
Set the id of thisRetrievalSearchInputPostProcessingInnerinstance.- Parameters:
id- New ID for each PostProcessingOperation.
-
maxChunkCount
@Nonnull public RetrievalSearchInputPostProcessingInner maxChunkCount(@Nullable Integer maxChunkCount) Set the maxChunkCount of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.- Parameters:
maxChunkCount- Maximum number of chunks to be retained in final PerSearchFilterResult. Minimum: 0 Maximum: 10000000- Returns:
- The same instance of this
RetrievalSearchInputPostProcessingInnerclass
-
getMaxChunkCount
Maximum number of chunks to be retained in final PerSearchFilterResult. minimum: 0 maximum: 10000000- Returns:
- maxChunkCount The maxChunkCount of this
RetrievalSearchInputPostProcessingInnerinstance.
-
setMaxChunkCount
Set the maxChunkCount of thisRetrievalSearchInputPostProcessingInnerinstance.- Parameters:
maxChunkCount- Maximum number of chunks to be retained in final PerSearchFilterResult. Minimum: 0 Maximum: 10000000
-
strategy
@Nonnull public RetrievalSearchInputPostProcessingInner strategy(@Nonnull RetrievalSearchInputPostProcessingInnerStrategy strategy) Set the strategy of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.- Parameters:
strategy- The strategy of thisRetrievalSearchInputPostProcessingInner- Returns:
- The same instance of this
RetrievalSearchInputPostProcessingInnerclass
-
getStrategy
Get strategy- Returns:
- strategy The strategy of this
RetrievalSearchInputPostProcessingInnerinstance.
-
setStrategy
Set the strategy of thisRetrievalSearchInputPostProcessingInnerinstance.- Parameters:
strategy- The strategy of thisRetrievalSearchInputPostProcessingInner
-
inputs
@Nonnull public RetrievalSearchInputPostProcessingInner inputs(@Nonnull List<RetrievalSearchInputPostProcessingInnerInputsInner> inputs) Set the inputs of thisRetrievalSearchInputPostProcessingInnerinstance and return the same instance.- Parameters:
inputs- The inputs of thisRetrievalSearchInputPostProcessingInner- Returns:
- The same instance of this
RetrievalSearchInputPostProcessingInnerclass
-
addInputsItem
@Nonnull public RetrievalSearchInputPostProcessingInner addInputsItem(@Nonnull RetrievalSearchInputPostProcessingInnerInputsInner inputsItem) Add one inputs instance to thisRetrievalSearchInputPostProcessingInner.- Parameters:
inputsItem- The inputs that should be added- Returns:
- The same instance of type
RetrievalSearchInputPostProcessingInner
-
getInputs
Get inputs- Returns:
- inputs The inputs of this
RetrievalSearchInputPostProcessingInnerinstance.
-
setInputs
Set the inputs of thisRetrievalSearchInputPostProcessingInnerinstance.- Parameters:
inputs- The inputs of thisRetrievalSearchInputPostProcessingInner
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRetrievalSearchInputPostProcessingInner.- 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 thisRetrievalSearchInputPostProcessingInnerinstance.- 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 thisRetrievalSearchInputPostProcessingInnerinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRetrievalSearchInputPostProcessingInnerinstance. 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 newRetrievalSearchInputPostProcessingInnerinstance with all required arguments.
-
toMap()instead.