Two part project containing a websocket server that hosts a LLM (currently using the pygmalion-2-7b model), and a plugin for Obsidian that connects to the server and contains a chat window for conversations.
When I get round to it I'll add some steps of things you need to install here in order to get the model and plugin up and running
rough steps for now:
cd modelHost.env/Scripts/activate for windows)python main.py to start the websocket serverTo run the plugin
<VAULT_LOCATION>/.obsidian/pluginscd pluginnpm run dev will build the plugin (you can also build the plugin and move/symlink the output if you want the repo located somewhere elseI've been running this on a 3060ti along side a bunch of other apps
~100-150 seconds but it can come down to as quick as ~10 seconds depending on the response size.If there is someone out there other than me looking at this repo, I'm leaving this project alone for a while. Primarily because local LLMs aren't currently feasible in a usecase that requires to keep up with you're ability to write your thoughts down. Not to mention when testing I've found LLMs definitely struggle with the novel output required for more creative writing tasks, I don't want to fight an LLM to get new ideas out of it.
4 commits
TypeScript
61.8%
Python
23.3%
JavaScript
8.1%
CSS
6.8%
Two part project containing a websocket server that hosts a LLM (currently using the pygmalion-2-7b model), and a plugin for Obsidian that connects to the server and contains a chat window for conversations.
When I get round to it I'll add some steps of things you need to install here in order to get the model and plugin up and running
rough steps for now:
cd modelHost.env/Scripts/activate for windows)python main.py to start the websocket serverTo run the plugin
<VAULT_LOCATION>/.obsidian/pluginscd pluginnpm run dev will build the plugin (you can also build the plugin and move/symlink the output if you want the repo located somewhere elseI've been running this on a 3060ti along side a bunch of other apps
~100-150 seconds but it can come down to as quick as ~10 seconds depending on the response size.If there is someone out there other than me looking at this repo, I'm leaving this project alone for a while. Primarily because local LLMs aren't currently feasible in a usecase that requires to keep up with you're ability to write your thoughts down. Not to mention when testing I've found LLMs definitely struggle with the novel output required for more creative writing tasks, I don't want to fight an LLM to get new ideas out of it.
4 commits
TypeScript
61.8%
Python
23.3%
JavaScript
8.1%
CSS
6.8%