MCPcopy Index your code
hub / github.com/akshaybahadur21/Socratic

github.com/akshaybahadur21/Socratic @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
33 symbols 107 edges 10 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 :pushpin:

@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 🔱

Core symbols most depended-on inside this repo

Shape

Method 16
Function 11
Class 6

Languages

Python100%

Modules by API surface

src/utils/streamlitUtils.py5 symbols
src/HandDetector.py5 symbols
src/PlotModel.py4 symbols
src/MathModel.py4 symbols
src/Vision.py3 symbols
src/Plotter.py3 symbols
SocraticOmni.py3 symbols
Socratic.py3 symbols
src/utils/VisionUtils.py2 symbols
src/utils/MathUtils.py1 symbols

For agents

$ claude mcp add Socratic \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page