๐ ๐๐ฎ๐ป ๐๐ฒ ๐ฐ๐ฟ๐ฒ๐ฎ๐๐ฒ ๐ฎ๐ป ๐ฎ๐ฑ๐ฎ๐ฝ๐๐ถ๐๐ฒ ๐๐ฒ๐ฎ๐ฟ๐ป๐ถ๐ป๐ด ๐๐ฝ๐ฝ ๐๐๐ถ๐ป๐ด ๐๐๐ ๐๐ถ๐๐ต๐ผ๐๐ ๐ฎ ๐พ๐๐ฒ๐๐๐ถ๐ผ๐ป ๐ฎ๐ป๐๐๐ฒ๐ฟ ๐ฑ๐ฎ๐๐ฎ๐๐ฒ๐? ๐ค
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