Skip to content

Releases: longy2k/obsidian-bmo-chatbot

2.0.0

18 Mar 04:03
Compare
Choose a tag to compare

Important Changes

CORRECTION - Semantic Versioning: Breaking changes v1.8.9 --> v2.0.0 (v1.9.0)

If you have <v2.0.0, please perform the following instructions:

  1. Go to Options > Community plugins > BMO Chatbot and uninstall the plugin.
  2. Re-install "BMO Chatbot"
  3. Restart Obsidian or toggle the plugin on/off to refresh.

Or,

  1. Go to Options > Community plugins and click on the folder's icon:
Screenshot 2024-03-10 at 9 28 38 PM
  1. Close Obsidian completely.
  2. Find the bmo-chatbot folder and delete data.json.
  3. Restart Obsidian.

What's New

  • Re-implemented Prompts

Improvements

  • "/prompt [PROMPT-NAME]" is now case insensitive.

Changes

  • Moved "Allow Header" to the top of the Appearance settings.
  • Reference current note is prepended with "Additional Notes:"

Fixes

  • Semantic Versioning: Breaking changes v1.8.9 --> v2.0.0 (v1.9.0)
  • Gemini Pro does not support system prompt. Resolved using @gerardsans solution.
  • Fixed 'Chatbox Background Color' frontmatter. Did not update chatbot view when resetting to default.
  • Help command typos

1.9.0

16 Mar 19:04
fae08ea
Compare
Choose a tag to compare

Breaking Changes

  • BMO Chatbot's data structure has been modified which may lead to errors. Please use the 'Reset Settings' option at the bottom of the settings tab to refresh your setting's data.

If you have <v1.9.0, please perform the following instructions:

  1. Go to Options > Community plugins and click on the folder's icon:

    Screenshot 2024-03-10 at 9 28 38 PM
  2. Close Obsidian completely.

  3. Find the bmo-chatbot folder and delete data.json.

  4. Restart Obsidian.

What's New

  • Profiles - Create chatbots with specific knowledge, personalities, and presets.
    • Each profile has their own message history.
    • Switch profiles via settings or commands. Try /p to list profiles.
  • More chatbot style customizations such as modifying the background color of the chatbot container, message container, and font colors.
  • OpenRouter now have there own section under BMO Settings > API Connections.
  • A 'Reset Settings' option. Please reset your settings with this update for a better experience.

Improvements

  • Command aliases
    • Help (e.g. manual, commands): /commands, /manual, /man, /help, /h
    • Models: /models, /m
    • Profiles: /profiles, /profiles, /prof, /p
    • Reference Current Note: /reference, /ref
    • Temperature: /temperature, /temp
    • Max Tokens: /maxtokens
    • Append current message history to note: /append
    • Save message history: /save
    • Clear message history: /clear, /c
    • Stop stream: /stop, /s
  • Models and profiles are case-insensitive when switching via command.

Changes

  • Prompt Select Generate System Role default changed from "You are a helpful assistant." to "Output user request."
  • Merged 'Chatbox Border Color' with 'Chatbox Background Color'.
  • Scrollbar back in chatbot view.
  • 'User Name' and 'Chatbot Name' can now be upper or lowercase.
  • The default 'Chat History Folder Path' changed from 'BMO' to 'BMO/History'.
  • Removed 'Chatbot Name' from Appearance settings. Creating and renaming chatbots are located in Profiles > Profile Folder Path.
  • Removed 'System' (System role prompt) from the settings tab. The aim is to encourage users to locate the system role prompt from the profile and create more complex prompts.

Fixes

  • Fixed Anthropic Rename Title Generator
  • Fix paragraph breaks when refreshing chatbot view.

1.8.9

04 Mar 17:56
Compare
Choose a tag to compare

Important Changes

  • REST API URL uses /chat/completions endpoints. Make sure you add the correct urls that lead to /chat/completions. For example, inserting https://openrouter.ai/api/v1 will fetch https://openrouter.ai/api/v1/chat/completions. If you are using the default LM Studio url, you can insert the REST API URL as http://localhost:1234/v1.

Features

  • Replaced marked for Obsidian Markdown rendering. This allows BMO Chatbot to render links, images, and other rich text elements (e.g. Obsidian Dataview, iframe, ...).
  • Added Anthropic models: claude-3-sonnet-20240229 and claude-3-sonnet-20240229.

Refactor

  • The model list will fetch for models every time the user open BMO Settings.
  • Anthropic API's Text Completion -> Anthropic API's Messages

Fixes

  • 'Prompt Select Generate' and Title Rename are updated for Anthropic Models.
  • Anthropic's user response no longer removes the first word.

1.8.8

26 Feb 00:11
Compare
Choose a tag to compare

Feat

  • Customizable chatbox

Improvements

  • Changed temperature slider to a textfield.
    • More precise values for temperature.
  • Better error handling (e.g. API connections errors will display as a bot message).
  • Better command response (e.g. /prompt will display a bot message if prompt path is not set).

Fixes

  • Append button will no longer go to the first file that is opened when restarting Obsidian.
  • "handle responses.json when it is an array" by @keriati in (#51)

1.8.7

11 Feb 14:33
Compare
Choose a tag to compare

Add

  • Bot Message now contains an Edit button.
  • Google Gemini Pro's API Key.
  • Mistral AI's API Key.
  • Anthropic's API Key.

Changes

  • The 'Prompt Select Generate' hotkey default is now CMD+Shift+=

Fixes

  • Clear reference current note each time before getting the new reference note.
  • Temperature max range is now set to 2.
  • /save and /append now responds with a bot message when the commands are executed. This also fixes the issue where users cannot continue a conversation after /save or /append.
  • Set max_tokens default to 4096 for REST API URLs, Mistral AI, and Google Gemini Pro.

1.8.6

05 Feb 18:09
Compare
Choose a tag to compare

Add

  • Ollama: keep_alive parameter
  • Editor Settings section
    • Prompt Select Generate System textfield

Changes

  • New loading animation.
  • Refactor 'Reference Current Note' to better detect active file.

1.8.5

04 Feb 05:08
Compare
Choose a tag to compare

Fixes

  • Ollama: Cleared default seed parameter to avoid repetitive response

1.8.4

03 Feb 23:13
Compare
Choose a tag to compare

Added

  • Ollama parameters
  • Better light theme support
  • Setting tabs has toggle features

Changes

  • Removed gpt-4-1106-preview and replaced with gpt-4-turbo-preview

Fixes

  • Persistent 'undefined' response via prompt function

1.8.3

18 Jan 01:54
Compare
Choose a tag to compare

Added

  • Edit and regen button for all user messages (Excluding commands).

1.8.2

16 Jan 01:09
Compare
Choose a tag to compare

Fix

  • Pulling models