Skip to content

Retrieval modes

RetrievalMode #

Bases: Enum

Enum for defining retrieval modes for datapoints.

Random class-attribute instance-attribute #

Random = 'Random'

Will just randomly shuffle the datapoints. This is the default and will NOT take into account the "max_iterations" parameter.

Shuffled class-attribute instance-attribute #

Shuffled = 'Shuffled'

Will shuffle the datapoints randomly for each user. The user will then see the datapoints in that order. This will take into account the "max_iterations" parameter.

Sequential class-attribute instance-attribute #

Sequential = 'Sequential'

Will show the datapoints in the order they are in the dataset. This will take into account the "max_iterations" parameter.