Skip to main content

Suggest Traits

POST 

/api/v1/traits/suggest

Suggest additional traits with their possible levels based on the why_prompt and currently selected traits.

Args: request: TraitGenerationRequest containing:

  • why_prompt: The use case explanation
  • selected_traits: List of already selected trait names

Returns: TraitSuggestionResponse containing:

  • suggested_traits: Dictionary mapping trait names to their possible levels

Raises: HTTPException: If there's an error in trait suggestion process

Request

Responses

Successful Response