Skip to content

Simple GUI to load a PDF/Docx/txt file and have LM Studio Answer based off of it.

Notifications You must be signed in to change notification settings

BBC-Esq/Poor-Man-Vector-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

‼️ 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

Usage

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.

Contact

All suggestions (positive and negative) are welcome. "bbc@chintellalaw.com" or feel free to message me on the LM Studio Discord Server.

Screenshots:

Screenshot 1

About

Simple GUI to load a PDF/Docx/txt file and have LM Studio Answer based off of it.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages