Create History
POST/api/v1/personas/history
Generate historical factors relevant to a user's decision-making process.
This endpoint analyzes a given question and user profile to produce a set of historical factors that could influence the user's decision. These factors provide context for understanding past behaviors and preferences.
Parameters:
req (HistoryRequest): Contains the question, user profile, and relevant attributes
Returns:
HistoryResponse: A dictionary of historical factors and their descriptions
Raises:
- HTTPException 404: If there's an error in generating historical factors
Request
Responses
- 200
Successful Response