| name | content-personalization |
| description | Personalize textbook chapter content for logged-in users based on their background, preferences, and learning style collected during signup. |
Content Personalization
Instructions
- Receive the user profile (from user-profile-management) and chapter content.
- Modify content according to user profile:
- Highlight topics relevant to the user’s software/hardware background.
- Adjust explanations for the user’s experience level.
- Include examples and diagrams matching learning preferences.
- Provide a version of the chapter ready for rendering in Docusaurus.
- Optionally, track personalization actions for bonus evaluation.
Example
Input:
{
"user_id": "user123",
"profile": {"software": ["Python"], "hardware": ["Humanoid robots"], "learning_style": "visual"},
"chapter_content": "Chapter 2: Introduction to Humanoid Robotics..."
}