Releases: BBC-Esq/VectorDB-Plugin
v6.10.0 - So much time wasted!
Upgrading from v6.9.x
To upgrade from a prior version without losing your databases, downloaded models, etc., do the following:
- Download the source code for this release.
- Take all files ending in
.pyand copy them, overwriting your pre-existing files. MAKE SURE and keep your currentconfig.yaml. - Copy any files in the
Assetsfolder and replace any ones in your currentAssetsfolder. - Do the same for any files in the
CSSfolder. - Activate your virtual environment and run the following command to uninstall any & all dependencies.
pip freeze > requirements_uninstall.txt && pip uninstall -r requirements_uninstall.txt -y && del requirements_uninstall.txt- run
python setup_windows.py
Added/Removed Chat Models
- Added
Marco-o1 - 7b- This is a superb model that performs chain-of-thought. It is slower than other models (thinking behind the scenes), but produces extremely accurate results even with long contexts.
- Added
Qwen 2.5 Coder - 3b - Added
Qwen 2.5 Coder - 14b - Added
Qwen 2.5 - 32b - Added
Qwen 2.5 Coder - 32b - Removed
Internlm2_5 - 1.8b - Removed
Yi Coder - 9b - Removed
Internlm2_5 - 7b - Removed
DeepSeek Coder v2 - 16b- Eclipsed by the better and faster
Qwen 2.5 Coder - 14bmodel.
- Eclipsed by the better and faster
- Removed
Internlm2_5 - 20b- Eclipsed by
Qwen 2.5 - 14band/orQwen 2.5 32b
- Eclipsed by
Added/Removed Vision Models
- Added
THUDM glm4v - 9b - Added
Molmo-D-0924 - 8b
Scrape Python Library Documentation
- Added multiple new libraries and newer versions of existing libraries to scrape.
- Improved .html formatting of scraped cites to feed the vector database more relevant information.
- Increased the speed and reliability of scraping documentation by using
lxmlwithinbeautifulsoup4and other alternations. - Created
module_scraper.pyto handle scraping logic whilegui_tabs_tools_scrape.pystill provides the GUI.
Ask Jeeves Improvements
- Added more error handling and server connection indicators as well as better subprocess handling.
Other Improvements
- Updated dependencies.
- Refactored
document_processor.pyto accommodate newer dependencies and load .html file faster. - Additional file filters to reduce download amounts when downloading models.
- Added a button to display vision model bar charts.
v6.9.2 - Welcome Kobold!
Patch 6.9.2 Notes
In between major updates I'll simply paste below the major update notes so it's more convenient, and then include specific notes for minor updates.
- Added
MiniCPM3 - 4bchat model- Very very good at at single factoid retrieval, even from many contexts, but DO NOT use when asking to retrieve multiple factoids from the contexts because it will ramble.
- Robust validation of settings entered.
- Use
qthreadwith metrics bar for smoother GUI operation - Add page numbers when contexts that originate from a
.pdfare returned. - Return relevant scores for all citations, which helps users determine which
similaritysetting to use.
Patch 6.9.1 Notes
- Added
Qwen 2.5 - 32bchat model. - Add sparkgraphs for metrics and the ability to right-click on the metrics bar and select a different visualization.
Welcome Kobold edition v6.9.0
Ask Jeeves!
- Exciting new "Ask Jeeves" helper who answers questions about how to use the program. Simply click "Jeeves" in the upper left.
- "Jeeves" gets his knowledge from a vector database that comes shipped with this release! NO MORE USER GUIDE TAB - just ASK JEEVES!
- IMPORTANT: After running
setup_windows.pyyou must go into theAssetsfolder, right-click onkoboldcpp_nocuda.exe, and check the "Unblock" checkbox first! If it's not there, try starting Jeeves and see if it works. Create a Github Issue if it doesn't work because Ask Jeeves is a new feature. - IMPORTANT: You may also need to disable or make an exception for any firewall you have. Submit a Github
Issueif you encounter any problems.
- IMPORTANT: After running
Scrape Python Library Documentation
- In the Tools Tab, simply select a python library, click
Scrape, and all the.htmlfiles will be downloaded to theScraped_Documentationfolder. - Create a vector database out of all of the
.htmlfiles for a given library, then use one of the coding specific models to answer questions!
Huggingface Access Token
- You can now enter an "access token" and access models that are "gated" on huggingface. Currently,
llama 3.2 - 3bandmistral-small - 22bare the only gated models. - Ask Jeeves how to get a huggingface access token.
Other Improvements
- The vector models are now downloaded using the
snapshot_downloadfunctionality fromhuggingface_hub, which can exclude unnecessary files such asonnx,.bin(when an equivalent.safetensorsversion is available), and others. This significantly reduces the amount of data that this program downloads and therefore increases speed and usability. - This speedup should pertain to vector, chat, and whisper models, and implementing the
snapshot_downloadfor TTS models is planned. - New
Compare GPUsbutton in the Tools Tab, which displays metrics for various GPUs so you can better determine your settings. Charts and graphs for chat/vision models will be added in the near future. - New metrics bar with speedometer-looking widgets.
- Removed the User Guide Tab altogether to free up space. You can now simply
Ask Jeevesinstead. - Lots and lots of refactoring to improve various things...
Added/Removed Chat Models
- Added
Qwen 2.5 - 1.5b,Llama 3.2 - 3b,Internlm 2.5 - 1.8b,Dolphin-Llama 3.1 - 8b,Mistral-Small - 22b. - Removed
Longwriter Llama 3.1 - 8b,Longwriter GLM4 - 9b,Yi - 9b,Solar Pro Preview - 22.1b.
Added/Removed Vision Models
- Removed
Llava 1.5,Bakllava,Falcon-vlm - 11b, andPhi-3-Visionmodels as either under-performing or eclipsed by pre-existing models that have additional benefits.
Roadmap
- Add
Koboldas a backend in addition toLM StudioandLocal Models, at which point I'll probably have to rename this github repo. - Add
OpenAIbackend. - Remove LM Studio Server settings and revise instructions since LM Studio has changed significantly since they were last done.
Full Changelog: v6.8.2...v6.9.0
v6.9.1 - Welcome Kobold!
Patch 6.9.1 Notes
In between major updates I'll simply paste below the major update notes so it's more convenient, and then include specific notes for minor updates.
- Added
Qwen 2.5 - 32bchat model. - Add sparkgraphs for metrics and the ability to right-click on the metrics bar and select a different visualization.
Welcome Kobold edition v6.9.0
Ask Jeeves!
- Exciting new "Ask Jeeves" helper who answers questions about how to use the program. Simply click "Jeeves" in the upper left.
- "Jeeves" gets his knowledge from a vector database that comes shipped with this release! NO MORE USER GUIDE TAB - just ASK JEEVES!
- IMPORTANT: After running
setup_windows.pyyou must go into theAssetsfolder, right-click onkoboldcpp_nocuda.exe, and check the "Unblock" checkbox first! If it's not there, try starting Jeeves and see if it works. Create a Github Issue if it doesn't work because Ask Jeeves is a new feature. - IMPORTANT: You may also need to disable or make an exception for any firewall you have. Submit a Github
Issueif you encounter any problems.
- IMPORTANT: After running
Scrape Python Library Documentation
- In the Tools Tab, simply select a python library, click
Scrape, and all the.htmlfiles will be downloaded to theScraped_Documentationfolder. - Create a vector database out of all of the
.htmlfiles for a given library, then use one of the coding specific models to answer questions!
Huggingface Access Token
- You can now enter an "access token" and access models that are "gated" on huggingface. Currently,
llama 3.2 - 3bandmistral-small - 22bare the only gated models. - Ask Jeeves how to get a huggingface access token.
Other Improvements
- The vector models are now downloaded using the
snapshot_downloadfunctionality fromhuggingface_hub, which can exclude unnecessary files such asonnx,.bin(when an equivalent.safetensorsversion is available), and others. This significantly reduces the amount of data that this program downloads and therefore increases speed and usability. - This speedup should pertain to vector, chat, and whisper models, and implementing the
snapshot_downloadfor TTS models is planned. - New
Compare GPUsbutton in the Tools Tab, which displays metrics for various GPUs so you can better determine your settings. Charts and graphs for chat/vision models will be added in the near future. - New metrics bar with speedometer-looking widgets.
- Removed the User Guide Tab altogether to free up space. You can now simply
Ask Jeevesinstead. - Lots and lots of refactoring to improve various things...
Added/Removed Chat Models
- Added
Qwen 2.5 - 1.5b,Llama 3.2 - 3b,Internlm 2.5 - 1.8b,Dolphin-Llama 3.1 - 8b,Mistral-Small - 22b. - Removed
Longwriter Llama 3.1 - 8b,Longwriter GLM4 - 9b,Yi - 9b,Solar Pro Preview - 22.1b.
Added/Removed Vision Models
- Removed
Llava 1.5,Bakllava,Falcon-vlm - 11b, andPhi-3-Visionmodels as either under-performing or eclipsed by pre-existing models that have additional benefits.
Roadmap
- Add
Koboldas a backend in addition toLM StudioandLocal Models, at which point I'll probably have to rename this github repo. - Add
OpenAIbackend. - Remove LM Studio Server settings and revise instructions since LM Studio has changed significantly since they were last done.
Full Changelog: v6.8.2...v6.9.0
v6.9.0 - Welcome Kobold!!
Welcome Kobold edition
Ask Jeeves!
- Exciting new "Ask Jeeves" helper who answers questions about how to use the program. Simply click "Jeeves" in the upper left.
- "Jeeves" gets his knowledge from a vector database that comes shipped with this release! NO MORE USER GUIDE TAB - just ASK JEEVES!
- IMPORTANT: After running
setup_windows.pyyou must go into theAssetsfolder, right-click onkoboldcpp_nocuda.exe, and check the "Unblock" checkbox first! If it's not there, try starting Jeeves and see if it works. Create a Github Issue if it doesn't work because Ask Jeeves is a new feature. - IMPORTANT: You may also need to disable or make an exception for any firewall you have. Submit a Github
Issueif you encounter any problems.
- IMPORTANT: After running
Scrape Python Library Documentation
- In the Tools Tab, simply select a python library, click
Scrape, and all the.htmlfiles will be downloaded to theScraped_Documentationfolder. - Create a vector database out of all of the
.htmlfiles for a given library, then use one of the coding specific models to answer questions!
Huggingface Access Token
- You can now enter an "access token" and access models that are "gated" on huggingface. Currently,
llama 3.2 - 3bandmistral-small - 22bare the only gated models. - Ask Jeeves how to get a huggingface access token.
Other Improvements
- The vector models are now downloaded using the
snapshot_downloadfunctionality fromhuggingface_hub, which can exclude unnecessary files such asonnx,.bin(when an equivalent.safetensorsversion is available), and others. This significantly reduces the amount of data that this program downloads and therefore increases speed and usability. - This speedup should pertain to vector, chat, and whisper models, and implementing the
snapshot_downloadfor TTS models is planned. - New
Compare GPUsbutton in the Tools Tab, which displays metrics for various GPUs so you can better determine your settings. Charts and graphs for chat/vision models will be added in the near future. - New metrics bar with speedometer-looking widgets.
- Removed the User Guide Tab altogether to free up space. You can now simply
Ask Jeevesinstead. - Lots and lots of refactoring to improve various things...
Added/Removed Chat Models
- Added
Qwen 2.5 - 1.5b,Llama 3.2 - 3b,Internlm 2.5 - 1.8b,Dolphin-Llama 3.1 - 8b,Mistral-Small - 22b. - Removed
Longwriter Llama 3.1 - 8b,Longwriter GLM4 - 9b,Yi - 9b,Solar Pro Preview - 22.1b.
Added/Removed Vision Models
- Removed
Llava 1.5,Bakllava,Falcon-vlm - 11b, andPhi-3-Visionmodels as either under-performing or eclipsed by pre-existing models that have additional benefits.
Roadmap
- Add
Koboldas a backend in addition toLM StudioandLocal Models, at which point I'll probably have to rename this github repo. - Add
OpenAIbackend. - Remove LM Studio Server settings and revise instructions since LM Studio has changed significantly since they were last done.
Full Changelog: v6.8.2...v6.9.0
v6.8.2 - quality focus
Due to the growing of number of chat and vector models with larger contexts, this mini-release focused on extensive testing at longer contexts. From this point forward, 4k chat models will only be included if they're exceptional and 8k++ models if they're quality and/or offer unique characteristics (e.g. focused on coding etc.)
Added Models (all 8k++ context):
LongWriter Llama 3.1 - 8b-
- Exceptional at long responses where an unusual number of contexts are thrown at it.
-
Yi - 9b-
- Long context Yi 9b, replacing Dolphin-Yi 9b, which was under performing at long context.
-
Solar Pro Preview - 22.1b-
- Exceptional 4k model with a parent model that's 8k coming out in a few months; replaces Solar 10.7b.
-
Removed Models:
Danube 3 - 4b- under performing at long contextDolphin-Qwen 2 - 1.5b- under performing at long contextOrca 2 - 7b- supersededNeural-Chat - 7b- supersededDolphin-Llama 3.1 - 8b- supersededHermes-3-Llama-3.1 - 8b- supersededDolphin-Yi 1.5 - 9b- redundantDolphin-Qwen 2 - 7b- supersededDolphin-Phi 3 - Medium- too difficult to work with and supersededLlama 2 - 13b- supersededDolphin-Mistral-Nemo - 12b- too difficult to work with and supersededSOLAR - 10.7b- superseded
See Release 6.8 for full release notes, including how to upgrade old databases
Current Chat Models:
Current Vision Models
Current TTS Models
- Does not include Google's, which is online and hence no GPU or VRAM usage.
v6.8.1 - coding models!
Fix
- Added a single missing dependency from the last release.
See Release 6.8.0 for full notes, including how to update databases.
v6.8.0 - coding models!
Breaking Changes
Within the Manage Databases tab, what's displayed is no longer derived from parsing multiple JSON files. Rather, sqlite3 is used for much much faster response/latency.
As such, databases created prior to this release will not function properly. To migrate old databases rather than creating them anew, use the create_sqlite3.py attached to this release as follows:
- Run the script and select the folder containing the old JSON files. The script will folder location is as follows:
- Go into the
Vector_DBfolder. - Each folder within
Vector_DBconstitute a database. - Within each folder constituting a database there is a folder named
json. - You need to run the
create_sqlite3.pyscript selecting eachjsonfolder for each of your database folders. - A new file named
metadata.dbshould be created in each database folder. - It's now safe to remove the
jsonfolder altogether.
- Update the backup folder.
- The
Vector_DB_Backupfolder contains a mirror image of theVector_DB- this is the "backup" folder. - Delete all the contents within the
Vector_DB_Backupfolder and copy all the contents of theVector_DBfolder into it.
- Start the program and it should run as usual.
These steps are unnecessary if you're creating a vector database for first time using Release v6.8.0, obviously.
New Chat Models for Coding Questions
- Deepseek-Coder-V2 - 16b (best)
- Yi-Coder - 9b (second best)
- CodeQwen1.5 - 7b (third, but still good)
Benchmarks will be forthcoming, but their metrics are comparable to similarly-sized models.
Misc.
- Now using a
distil-whispermodel for the voice recorder for an approximate 2x speedup. - Added buttons to backup all databases at once or restored all backups at once (Tools Tab).
v6.7.1 - patch update
Patch
- Fixed Florence models not showing up as an option for vision models when a gpu was detected.
See v6.7.0 for all other release notes:
https://github.com/BBC-Esq/VectorDB-Plugin-for-LM-Studio/releases/tag/V6.7.0
v6.7.0 - LONG CONTEXT no see!
General Updates
- CITATIONS! with hyperlinks when searching the Vector DB and getting a response.
- Display of a chat model's max context and how many tokens you've used.
2X Speed Increase
Choose "half" in the database creation settings. It will automatically choose bfloat16 or float16 based on your GPU.
This results in a 2x speed increase with extremely low loss in quality.
Chat Models
Removed Internlm2_5 - 1.8b and Qwen 1.5 - 1.6b as under performing.
Removed Dolphin-Llama 3 - 8b and Internlm2 - 20b as superseded.
Added Danube 3 - 4b with 8k context.
Added Phi 3.5 Mini - 4b with 8k context.
Added Hermes-4-Llama 3.1 - 8b with 8k context
Added Internlm2_5 - 20b with 8k context
The following models now have have 8192 context:
| Model Name | Parameters (billion) | Context Length |
|---|---|---|
| Danube 3 - 4b | 4 | 8192 |
| Dolphin-Qwen 2 - 1.5b | 1.5 | 8192 |
| Phi 3.5 Mini - 4b | 4 | 8192 |
| Internlm2_5 - 7b | 7 | 8192 |
| Dolphin-Llama 3.1 - 8b | 8 | 8192 |
| Hermes-3-Llama-3.1 - 8b | 8 | 8192 |
| Dolphin-Qwen 2 - 7b | 7 | 8192 |
| Dolphin-Mistral-Nemo - 12b | 12 | 8192 |
| Internlm2_5 - 20b | 20 | 8192 |
Text to Speech Models
- Excited to add additional models to choose from when using
whisperspeechas the text to speech backend - see the chart below for the variouss2aandt2smodel combinations and "relative" compute times along with real vram usage stats.
Current Chat and Vision Models

v6.6.0 - 8192 CONTEXT!
General Updates
- Ensured that vector model pulldown menu auto-updates.
- Made the vector model pulldown menu more descriptive.
Local Models
- Added
Internlm v 2.5 1.8b. In the last release, version 2.0 ofInternlm's1.8b model was removed. However, the quality increased noticeably with their version 2.5 so I'm re-adding it.
Vector Models
- Excited to add
Alibaba-NLP/gte-base-en-v1.5andAlibaba-NLP/gte-large-en-v1.5. These vector models have a context limit of 8192, which is automatically set within the program. With a conservative estimate of 3 characters per token, that means that you can set the chunk size to approximatly24,576!! - Removed
Stellaas it was under-performing and too difficult to work with. There is no love loss since the prior release marked it as "experimental" anyways.
Current Chat and Vision Models




