LM Studio Poor Man's Vector Database
Extracts text from a document (pdf, docx, txt, py, html, md), and asks LM Studio about it, simulating a vector database.
‼️ I have only tested it with 🐍Python 3.10 or Python 3.11 (I have not tested above 3.11.).
Step 1 - Download the repo files in the latest release.
Step 2 - Open a command prompt in the folder that contains gui.py
and create a virtual environment:
python -m venv .
Step 3 - Activate virtual environment
On Linux or MacOS, run source bin/activate
source bin/activate
instead.
.\Scripts\activate
Step 4 - Upgrade Pip
python -m pip install --upgrade pip
Step 5 - Install Requirements
pip install -r requirements.txt
Within the virtual environment run:
python gui.py
‼️ Don't forget to activate the virtual environment in the proper folder each time you want to use it.
All suggestions (positive and negative) are welcome. "bbc@chintellalaw.com" or feel free to message me on the LM Studio Discord Server.