Get AI-ready data from a Perseus item for Khanmigo.
This function extracts the correct answers from widgets and injects widget content into hints to provide Khanmigo with the context it needs to help students without requiring React rendering.
The Perseus item containing question and hints
Object containing answers and processed hints
Get AI-ready data from a Perseus item for Khanmigo.
This function extracts the correct answers from widgets and injects widget content into hints to provide Khanmigo with the context it needs to help students without requiring React rendering.