Skip to main content

Create Orthogonal Attributes And Levels

POST 

/api/v1/attributes-levels/orthogonal

Create new, independent (orthogonal) attributes and levels hat do not intersect with existing ones..

Parameters:

  • req: OrthogonalAttributesLevelsRequest object containing:
    • why_prompt: The main concept - prompt text
    • country: Target country
    • existing_attributes_levels: List of existing attributes and levels
    • new_attribute_count: Number of new attributes to generate (optional)
    • level_count: Number of levels per attribute (optional)
    • llm_model: Language model to use (optional)

Returns:

  • List of orthogonal attributes with their levels.

Raises:

  • HTTPException 404: If an error occurs during creation

Request

Responses

Successful Response