By using the LLM GPT4ALL
module from Langchain
, we read data from the file. Then the chatbot uses the Mistral 7B
model to return answers to the questions asked.
- First of all, clone this repository on your device. Open your shell and paste the following commands:
URL cloning
git clone https://github.com/maciekmalachowski/Docs-ai-chatbot.git
SSH cloning
git clone git@github.com:maciekmalachowski/Docs-ai-chatbot.git
- Then you need to install the requirements contained in
requirements.txt
.
pip install -r requirements.txt
- After that run
internal streamlit server
in the repository folder.
streamlit run main.py
Streamlit will launch the main.py file contained in the folder and automatically display it in the browser.