An GenAI-SymAI Hybrid Expert System for Mental Disorder Self-diagnosis
PsycheMD is an experimental expert system that combines the strengths of Generative AI (GenAI) and Symbolic AI (SymAI) to assist with the self-diagnosis of mental disorders. It leverages Prolog for logical reasoning and Node.js for integration, aiming to provide insightful preliminary assessments.
Disclaimer: This project is intended for educational and informational purposes only. It is not a substitute for professional medical advice or diagnosis. Always consult a qualified healthcare professional for any mental health concerns.
- Hybrid AI Approach: Integrates both GenAI and SymAI methodologies.
- Expert System Logic: Implements a Prolog-based reasoning engine.
- Modern Integration: Uses JavaScript (Node.js) to manage interactions and system workflow.
- Visual Workflow: Includes a flowchart (
flowchart.png) that outlines the system architecture and process.
The project is structured around two main components:
- Prolog Module:
- Contains the core logic and knowledge base (located in the
prologfolder).
- Contains the core logic and knowledge base (located in the
- JavaScript Integration:
- Acts as the bridge between the user interface and the Prolog engine (see
index.mjs).
- Acts as the bridge between the user interface and the Prolog engine (see
- Visualization:
- A flowchart image (
flowchart.png) illustrates the overall system design.
- A flowchart image (
To set up PsycheMD on your local machine:
-
Clone the Repository:
git clone https://github.com/SorenEricMent/PsycheMD.git cd PsycheMD -
Install Dependencies: Ensure you have Node.js installed, then run:
npm install
-
Configuration: If required, adjust any configuration settings or environment variables as needed (details can be added as the project evolves). Currently you need to set your OPENAI_API_ENV
To run the system:
node index.mjs