Skip to content

akshaybahadur21/Socratic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 SocraticOmni.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 ๐Ÿ”ฑ

About

A simple Mathematical utility for Humans ๐Ÿฆ‰

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages