Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) from Ollama, LM Studio, Anthropic, Google Gemini, Mistral AI, OpenAI, and more for Obsidian.
Create chatbots with specific knowledge, personalities, and presets.
Generate a response from the editor using your connected LLMs.
Prompt, select, and generate within your editor.
Render codeblocks (e.g. Dataview) that can be displayed in your chat view. Use the system prompt to customize your chatbot responses.
/save
command in chat to save current conversation and /load
to load a chat history.If you want to interact with self-hosted Large Language Models (LLMs) using Ollama or LM Studio, you will need to have the self-hosted API set up and running. You can follow the instructions provided by the self-hosted API provider to get it up and running. Once you have the REST API URL for your self-hosted API, you can use it with this plugin to interact with your models.
Access to other models may require an API key.
Please see instructions to setup with other LLMs providers.
Explore some models at GPT4ALL under the "Model Explorer" section or Ollama's Library.
Three methods:
Obsidian Community plugins (Recommended):
To activate the plugin from this repo:
npm install
to install any necessary dependencies for the plugin.npm run build
to build the plugin.Install using Beta Reviewers Auto-update Tester (BRAT) - Quick guide for using BRAT
BRAT: Add a beta plugin for testing
(If you want the plugin version to be frozen, use the command BRAT: Add a beta plugin with frozen version based on a release tag
.)To start using the plugin, enable it in your settings menu and insert an API key or REST API URL from a provider. After completing these steps, you can access the bot panel by clicking on the bot icon in the left sidebar.
/help
- Show help commands./model
- List or change model.
/model 1
or /model "llama2"
/profile
- List or change profiles.
/profile 1
or /profile [PROFILE-NAME]
/prompt
- List or change prompts.
/prompt 1
or /prompt [PROMPT-NAME]
/maxtokens [VALUE]
- Set max tokens./temp [VALUE]
- Change temperature range from 0 to 2./ref on | off
- Turn on or off reference current note./append
- Append current chat history to current active note./save
- Save current chat history to a note./load
- List or load a chat history./clear
or /c
- Clear chat history./stop
or /s
- Stop fetching response."BMO" is a tag name for this project. Inspired by the character "BMO" from Adventure Time.
Be MOre!
Any ideas or support is highly appreciated!
I am currently too busy to update the project. Feel free to submit pull requests! :)
If you have any bugs or improvements, please create an issue.
If you like to share your ideas, profiles, or anything else, please join or create a discussion.