Create attributes and levels for a given why_prompt.
Parameters:
req
: AttributesLevelsRequest object containing:
why_prompt
: The main concept or promptcountry
: Target countrylevel_count
: Number of levels per attribute (optional)max_length
: Maximum length for levels (optional)llm_model
: Language model to use (optional)attribute_count
: Number of attributes to generate (optional)Returns:
Example Response:
Raises:
Enum representing the type of prompts used in experiment designs.
Enum representing the llm model types used in the experiments.
The number of attributes in the experiment. This value must be an integer between 2 and 7, inclusive. If not provided, the default value is 4. Each attribute represents a characteristic or feature of the experiment.
The number of levels in the experiment. This value must be an integer between 2 and 5, inclusive. If not provided, the default value is 4. Each level represents a different possible value or state of an attribute.
The maximum # Characters per attribute. This value must be an integer between 40 and 80, inclusive. If not provided, the default value is 40.
Successful Response