No description
Find a file
2023-04-25 16:18:43 +10:00
src Improve pdf prompt performance 2023-04-25 16:18:43 +10:00
.editorconfig Initial commit 2023-03-07 14:25:36 +08:00
.eslintignore Initial commit 2023-03-07 14:25:36 +08:00
.eslintrc Initial commit 2023-03-07 14:25:36 +08:00
.gitignore Initial commit 2023-03-07 14:25:36 +08:00
.npmrc Initial commit 2023-03-07 14:25:36 +08:00
demo.gif Add demo 2023-03-18 20:58:31 +11:00
esbuild.config.mjs Improve code quality. 2023-03-16 04:09:43 +11:00
LICENSE Add license 2023-03-10 19:25:33 +11:00
manifest.json Update version 2023-03-29 11:32:43 +11:00
package-lock.json Support pdf context and fix bugs in audio transcript 2023-03-13 21:47:40 +11:00
package.json Clean up 2023-03-16 18:37:04 +11:00
README.md Update README.md 2023-03-29 11:42:32 +11:00
tsconfig.json Initial commit 2023-03-07 14:25:36 +08:00
version-bump.mjs Initial commit 2023-03-07 14:25:36 +08:00
versions.json Update version 2023-03-29 11:32:43 +11:00

Obsidian AI Commander Plugin

Buy Me A Coffee

AI Commander is a simple AI connector that helps you write notes with the power of OpenAI APIs in conjunction with Bing search engine.

Demo

OpenAI API key is required to use this plugin.

Current Features

  • Generate text from prompt, selected lines or current line.
  • Generate image from prompt, selected lines or current line.
  • Generate audio transcript from the last audio file above the current line.
  • Generate text in conjunction with search engine results. This allows the text model to work with Bing search engine. A Bing Web Search API key is required to use this feature.
  • Generate text in context of the PDF attachment embedded in the note. In this mode, it will not incorporate the search result.
  • Use Prompt Perfect to automatically improve prompts. Your prompts will be replaced by the improved one.
  • Custom prompt commands for selected text and PDF. For example, add a command "Summarise the text" in the plugin settings, and it will appear as a command. Note that you need to reload the plugin and restart Obsidian to update the command palette.

Supported models

How to use

Call out the command pallette and try the following commands:

  • AI Commander: Generate text from prompt
  • AI Commander: Generate image from prompt
  • AI Commander: Generate text from the current line
  • AI Commander: Generate image from the current line
  • AI Commander: Generate text from the selected text
  • AI Commander: Generate image from the selected text
  • AI Commander: Generate a transcript from the above audio
  • AI Commander: Generate text from prompt in context of the above PDF
  • AI Commander: Generate text from the current line in context of the above PDF
  • AI Commander: Generate text from the selected text in context of the above PDF

Install from Github

  1. From the release page, download manifest.json and main.js to <vault>/.obsidian/plugins/obsidian-aicommander-plugin
  2. Refresh installed plugins
  3. Enable AI Commander