Welcome to the Computer Diagnostic Expert System, a Python application designed to help diagnose and suggest solutions for common computer issues. This application utilizes the Experta framework, a powerful tool for developing expert systems with rules-based logic in Python.
To get started with the Computer Diagnostic Expert System, follow these steps to install the necessary environment and libraries:
- Ensure you have Python 3.x installed on your machine. You can download it from python.org.
- Install the Experta library using pip:
pip install experta
To run the expert system, execute the following command in your terminal:
python app.py
Follow the on-screen prompts and answer yes/no questions to receive a diagnosis for the computer issue.
The system initiates by loading initial facts and rules:
- Initial Facts: Determines the starting point of the diagnosis, asking if the computer turns on.
- Rules: A set of conditions that guide the diagnostic process based on user inputs.
- Power Check: Determines if the computer can turn on.
- Display Check: Checks if the display outputs correctly.
- Boot Check: Verifies if the system boots up to the operating system.
- Software Check: Identifies any software-related issues that might cause crashes or errors.
Based on responses, the system uses rules to infer problems and suggest troubleshooting steps or solutions.
Thank you for exploring the Computer Diagnostic Expert System. For any questions or support, please open an issue on this repository.