Skip to content

macro21KGB/select-and-complete

Repository files navigation

Select and Complete

This plugin for Obsidian enables users to leverage OpenAI's powerful language models to complete text within the Obsidian editor. With just a few clicks, users can select a portion of text and generate intelligent completions using state-of-the-art AI technology.

Features

  • Text Completion: Select any portion of text within the Obsidian editor and generate completions using OpenAI models.
  • Customizable Settings: Configure the plugin to use different OpenAI models and control other parameters for a tailored experience.
  • Seamless Integration: Intuitively integrated into the Obsidian workflow, allowing users to enhance their writing and brainstorming processes effortlessly.
  • GPTs and Claude models supported (NEW): The plugin supports both GPT-3 and Claude models for generating completions based on the selected text.
  • Quick custom prompts aks "Fillers (NEW)": The plugin allows users to quickly generate completions based on custom prompts, also known as "fillers."

Installation

  1. Open Obsidian.
  2. Navigate to Settings > Community plugins.
  3. Search for "Select and Complete" in the Community Plugins tab.
  4. Click "Install" to add the plugin to your Obsidian setup.
  5. Once installed, enable the plugin.

Usage

  1. Select the text you want to complete within the Obsidian editor.
  2. Use the icon on the left sidebard (a dice for now) to replace the text with the generated output.
  3. The plugin will communicate with OpenAI's servers to generate intelligent completions based on the selected text.

Configuration

The plugin offers various configuration options to customize the completion process according to your preferences:

  • API Key: Enter your API key to authenticate with the LLM
  • Model Selection: Choose from different OpenAI and Ant models to generate completions, each with its own strengths and capabilities.

Feedback and Support

If you encounter any issues, have suggestions for improvements, or need assistance, feel free to reach out via GitHub Issues. Your feedback is valuable and helps us improve the plugin for the entire community.