Skip to main content

TraitLevelsSuggestionRequest

countryCountry

The country of the survey

Default value: USA
existing_traitsstring[]required

List of existing traits

Examples:
Example: Personality Type
levels_countLevels Count

Number of levels to suggest for the new trait

Possible values: >= 2 and <= 5

Default value: 3
llm_modelLLMModel

Enum representing the llm model types used in the experiments.

Possible values: [azure-openai-gpt4, azure-openai-gpt4o-mini, azure-openai-gpt35, azure-openai-gpto3-mini, azure-openai-completions, sonar, databricks-sonnet4, databricks-claude-sonnet-4, databricks-llama4-maverick, databricks-llama3.3-70B, databricks-llama3.3-405B, bedrock:xai.grok-4.3]

Default value: databricks-claude-sonnet-4
max_lengthMax Length

Maximum length of the trait levels

Default value: 100
new_traitNew Traitrequired

Name of the new trait for which levels need to be suggested

why_promptWhy Promptrequired

The why prompt explaining the use case

Example: How does social media usage affect sleep patterns?
TraitLevelsSuggestionRequest
{
"country": "USA",
"existing_traits": [
"Personality Type",
"Age",
"Mental Health Status",
"Educational Background"
],
"levels_count": 3,
"max_length": 100,
"new_trait": "Cultural Orientation",
"why_prompt": "How does social media usage affect sleep patterns?"
}