A knowledge-based system (KBS) is a form of artificial intelligence (AI) that aims to capture the knowledge of human experts to support decision-making. Examples of knowledge-based systems include expert systems, which are so called because of their reliance on human expertise.
This project is a simple implementation a knowledge-based system. It is a ChatBot. There a prolog
file that defines the knowledge and questions are handled with python
. The key idea is mapping different questions for same answer.
$ sudo apt install swi-prolog
$ pip3 install pyswip
$ pip3 install gTTS
$ pip install pygame
$ pip3 install SpeechRecognition
$ sudo apt-get install python3-pyaudio
$ pip install pyaudio