Syed-Hamza-Ali-8 avatar

content-personalization

Personalize textbook chapter content for logged-in users based on their background, preferences, and

by Syed-Hamza-Ali-8|Open Source

Content Personalization

Instructions

  1. Receive the user profile (from user-profile-management) and chapter content.
  2. 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.
  3. Provide a version of the chapter ready for rendering in Docusaurus.
  4. 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..."
}