๐ŸŒŸ ๐—–๐—ฎ๐—ป ๐˜„๐—ฒ ๐—ฐ๐—ฟ๐—ฒ๐—ฎ๐˜๐—ฒ ๐—ฎ๐—ป ๐—ฎ๐—ฑ๐—ฎ๐—ฝ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—”๐—ฝ๐—ฝ ๐˜‚๐˜€๐—ถ๐—ป๐—ด ๐—Ÿ๐—Ÿ๐—  ๐˜„๐—ถ๐˜๐—ต๐—ผ๐˜‚๐˜ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป ๐—ฎ๐—ป๐˜€๐˜„๐—ฒ๐—ฟ ๐—ฑ๐—ฎ๐˜๐—ฎ๐˜€๐—ฒ๐˜? ๐Ÿค”

I gave it a try! ๐Ÿš€

I built an app on Streamlit utilizing LlamaIndex . It takes in key information fromt he user , wraps it in a prompt, and uses Groq inference API for a small ๐—Ÿ๐—Ÿ๐—  (๐—น๐—น๐—ฎ๐—บ๐—ฎ๐Ÿฏ.๐Ÿญ-๐Ÿด๐—ฏ-๐—ถ๐—ป๐˜€๐˜๐—ฎ๐—ป๐˜) to generate responses. By leveraging ๐—ฝ๐˜†๐—ฑ๐—ฎ๐—ป๐˜๐—ถ๐—ฐ, we generate structured output in format that can be made as a multiple choice question, and the in-between data storage plus proficiency calculations are handled by ๐—ฆ๐—ค๐—Ÿ๐—ถ๐˜๐—ฒ. Based on the calculation, after each answer, the LLM is prompted with the difficulty level of the next question to be generated.

๐Ÿ”— You can try out the app here: https://lnkd.in/gtXUHWMp

๐Ÿ’ก ๐—™๐—ถ๐—ป๐—ฑ๐—ถ๐—ป๐—ด๐˜€:

The answer is both yes and no! We can jumpstart by using the data the LLM was trained on. Even a small model does a fair job, but limited and un-curated knowledge base hampers the experience.
However, this can be tackled with ๐—ฅ๐—”๐—š ๐˜๐—ฒ๐—ฐ๐—ต๐—ป๐—ถ๐—พ๐˜‚๐—ฒ๐˜€. Where the exact contextual data can be retrieved from documents (books, PDFs, databases, PPTs, Videos) and then augmented by using an LLM. Particularly Graph RAG is showing promising potential for these kind of knowledge driven problem

๐Ÿค” ๐—ฃ๐—ผ๐˜€๐˜€๐—ถ๐—ฏ๐—ถ๐—น๐—ถ๐˜๐—ถ๐—ฒ๐˜€:

๐ŸŽฏ ๐—”๐—ฑ๐—ฎ๐—ฝ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด: Generates questions matching a learner’s proficiency. Using knowledge graph the system can even be made to understand pre-grade learning gaps of the learner.
๐Ÿ“š ๐——๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ ๐—–๐—ผ๐—ป๐˜๐—ฒ๐—ป๐˜: Creates content tailored to individual learning gaps (text, image, audio, video via multimodal LLMs). Should be an improvement over theย long MOOCs, which starts and ends at the same level and follows the same path for every learner.
๐Ÿง  ๐—–๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜๐˜‚๐—ฎ๐—น ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด: Customizes content to the learner’s interests, like teaching math to a cricket enthusiast student using cricket examples. And the best part, we don’t need to have curated datasets to do that, it can be generated. ๐Ÿโšพ

AI’s (Specifically GenAI’s) impact on education is being debated heavily, and rightly so. But can we ignore its potential? I donโ€™t think we can! ๐Ÿค–โœจ


Technologies Used: Python, Groq, LlamaIndex, Llama 3.1-8B, SQLite, Streamlit, Pydantic

๐Ÿ”— GitHub

๐Ÿ“ Read on LinkedIn

๐Ÿ“ฑ App Link