Rapidata settings
RapidataSettings #
Container class for all setting factory functions
Settings can be added to an order to determine the behaviour of the task.
Attributes:
| Name | Type | Description |
|---|---|---|
AlertOnFastResponse |
AlertOnFastResponseSetting
|
Gives an alert as a pop up on the UI when the response time is less than the milliseconds. |
TranslationBehaviour |
TranslationBehaviourSetting
|
Defines what's the behaviour of the translation in the UI. |
FreeTextMinimumCharacters |
FreeTextMinimumCharactersSetting
|
Only for free text tasks. Set the minimum number of characters a user has to type. |
NoShuffle |
NoShuffleSetting
|
Only for classification and compare tasks. If true, the order of the categories / images will not be shuffled and presented in the same order as specified. |
PlayPercentageVideo |
PlayPercentageVideoSetting
|
Requires users to watch a certain percentage of the video before they can submit their answer. |
AllowNeitherBoth |
AllowNeitherBothSetting
|
Only for compare tasks. If true, the users will be able to select neither or both instead of exclusively one of the options. |
SwapContextInstruction |
SwapContextInstructionSetting
|
Swap the place of the context and instruction. |
MuteVideo |
MuteVideoSetting
|
Mute the video. |
Markdown |
MarkdownSetting
|
Enables limited markdown rendering for text datapoints. |
Example
from rapidata import FreeTextMinimumCharactersSetting
settings=[FreeTextMinimumCharactersSetting(10)]
This can be used in a free text order to set the minimum number of characters required to submit the task.