Create Levels
POST/api/v1/levels
Create levels for given attribute(s) of an why_prompt.
Parameters:
req: LevelsRequest object containing:why_prompt: The main concept or input questioncountry: Target countryattributes: List of attributes to generate levels forlevel_count: Number of levels per attribute (optional)llm_model: Language model to use (optional)
Returns:
- List of attributes with their levels.
Raises:
- HTTPException 404: If an error occurs during creation
Request
Responses
- 200
Successful Response