Interface IPromptQueryConfig_Seed
public interface IPromptQueryConfig_Seed
Mixin for a
query connection configuration model that allows
the user to enter seed when executing a prompt query. Setting a seed can help ensure reproducibility of results
across multiple runs with the same prompt and configuration.
See also the <xp:seed/> Faces component from the http://www.xima.de/taglib/xfc/prompt namespace,
which provides a user interface for editing the data defined by this mixin.
- Since:
- 8.5.0
-
Field Summary
Fields -
Method Summary
-
Field Details
-
ATTR_SEED
The name of the seed attribute. If you implement a custom serialization / deserialization, use this name for the attribute to increase compatibility with other prompt service handlers.- See Also:
-
-
Method Details
-
getSeed
Long getSeed()Gets the seed for the prompt query. The seed helps ensure reproducibility of results across multiple runs with the same prompt and configuration.- Returns:
- The seed.
-
setSeed
Sets the seed for the prompt query. The seed helps ensure reproducibility of results across multiple runs with the same prompt and configuration.- Parameters:
seed- The seed to set.
-