Text this: Optimizing Language Model-Based Educational Assistants Using Knowledge Graphs: Integration With Moodle LMS