/Socratic

A simple Mathematical utility for Humans 🦉

Primary LanguagePythonMIT LicenseMIT

A simple Mathematical utility for Humans

Code Requirements 🦄

You can install Conda for python which resolves all the dependencies for machine learning.

pip install -r requirements.txt

Modules

  • Socratic Equation Solver
  • Socratic Plotter

Socratic Equation Solver

Description 🐦

Need to get unstuck? This Socratic can help! This learning module, inspired by Google AI​, helps you understand your school work at a high school and university level. The Socratic module utilizes artificial intelligence to accurately predict which concepts will help a student solve their question.

Mathematical Operations 🧮

  • Digits from 0-9
  • Addition ➕
  • Subtraction ➖
  • Divide ➗
  • Multiply ✖️
  • Pi 🥧

Socratic Plotter

Description 🐦

The Socratic plotter module utilizes artificial intelligence to accurately predict the equation and plots a graph for students.

Plot supported 🧮

  • Constants
  • Linear equations

Socratic Omni

A simple AI mathematician powered by OpenAI's GPT-4o model.

Details

  • Model API: GPT-4o; Gemini(integratable)
  • Latency: 3-4 seconds (GPT-4o)
  • Support: Images, LateX, Markdown
  • Interface: Streamlit

Python Implementation 👨‍🔬

  1. Network Used- Convolutional Neural Network
  2. Hand Tracking - Mediapipe

If you face any problem, kindly raise an issue

Setup 🖥️

  1. Add your mathematics symbol trained model in the models folder
  2. Run Socratic.py -option <plot or equation>
  3. Demonstrate anywhere on the screen
  4. Write your equation in the green box for the machine learning model to solve it.

Execution 🐉

  • For running Socratic in Python IDE
python3 Socratic.py -option <plot or equation>
  • For running the streamlit version powered by GPT-4
streamlit run SocraticLit.py

Results 📊

Cite Us 📌

@article{akshaybahadur21_socratic,
author = {Bahadur, Akshay},
journal = {https://github.com/akshaybahadur21/Socratic},
month = {04},
title = {{Socratic}},
year = {2024}
}
Made with ❤️ and 🦙 by Akshay Bahadur

References 🔱