Offline Chatbot for Private Document Interaction (Free and Secure)
- Langchain
- GPT4all LLM
- Sentence Transformer embeddings
- Chroma Vector DataBase
- Python 3.10 +
- Need Python 3.10, run following commands
sudo apt install python-is-python3
curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python3.10
sudo apt-get install python3.10-venv
pip install virtualenv
python -m venv env
source env/bin/activate
pip install -r requirements.txt
- To fix RuntimeError: Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0. Added these 3 lines in env/lib/python3.10/site-packages/chromadb/init.py at the beginning:
__import__('pysqlite3')
import sys
sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')