Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ease startup #1

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ Your text will be changed with the text from LLM (Default is tinyllama)

If you have any questions related to the plugin or want to extend the functionality, write an email to admin@artefaktas.eu and I will try to respond as soon, as I can.

### Troubleshooting

- When you run `ollama`, you are running a particular LLM model in another thread. A common issue is 404 errors inside of Obsidian and no responses. Check your configuration, and make sure that the ollama model you are running matches what Obsidian is calling. The default model is `tinyllama`.
- If you get other errors, the most likely cause is that `ollama` is not running in the background. `ollama run <modelname>` opens a port on your local machine, and this plugin uses [that resulting REST API](https://github.com/ollama/ollama?tab=readme-ov-file#rest-api) to function.

### Recommendations

- A laptop with at least 8GB of RAM and a decent processor (for local usage)
Expand Down
2 changes: 2 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ class llmSettingsTab extends PluginSettingTab {
.addDropdown((dropdown) => {
dropdown
.addOption("tinyllama", "tinyllama")
.addOption("llama3", "llama3")
.addOption("llama3:70b", "llama3:70b")
.addOption("phi", "phi")
.addOption("orca-mini", "orca-mini")
.addOption("tinydolphin", "tinydolphin")
Expand Down