AI bot
approvedby kuzzh
Polish, summarize, translate, analyze, and interpret code using AI
English | δΈζ
AI Bot Plugin π€
Overview π
The AI Bot Plugin is a powerful tool designed to enhance your note-editing experience in Obsidian by leveraging the capabilities of AI. This plugin allows you to interact with an AI assistant directly within Obsidian, making it easier to generate, edit, and organize your notes with intelligent suggestions and automated tasks.
Features π
- AI-Powered Assistance: Get intelligent suggestions and automated tasks directly within Obsidian.
- Contextual Understanding: The AI understands the context of your notes, providing more accurate and relevant responses.
- Customizable Settings: Configure the base URL, API key, and model to suit your needs.
- User-Friendly Interface: Intuitive modal interface for easy interaction with the AI.
- Integration with Obsidian: Seamlessly integrated with Obsidian's core features, including commands and editor menus.
Advantages π
- Efficiency: Save time by automating repetitive tasks and getting quick suggestions.
- Accuracy: The AI provides accurate and context-aware responses, enhancing the quality of your notes.
- Flexibility: Customize the plugin to work with different AI models and APIs.
- User-Centric Design: Designed with the user in mind, offering a smooth and intuitive experience.
Supported AI Services π§
The AI Bot Plugin supports integration with popular AI services such as:
- DeepSeek: Access
deepseek-chatmodel on DeepSeek. - OpenAI: Utilize models like
GPT-3,GPT-4, and others from OpenAI. - Custom APIs: Configure the plugin to work with any custom AI service by specifying the base URL and API key.
Since the AI Bot plugin uses the OpenAI Node API Library at its core, in theory, the AI Bot plugin supports any service that the OpenAI Node API Library supports.
Installation π οΈ
Manual Installation
- Clone the Repository: Clone this repo to your local machine.
- Navigate to Plugin Folder: Place the cloned folder in your
.obsidian/plugins/directory. - Install Dependencies: Run
npm installto install the necessary dependencies. - Build the Plugin: Run
npm run devto compile the plugin. - Enable the Plugin: Open Obsidian, go to Settings > Community Plugins, and enable the "AI Bot" plugin.
From Obsidian Community Plugins
- Open Obsidian: Launch Obsidian and go to Settings.
- Community Plugins: Navigate to the Community Plugins section.
- Browse: Search for "AI Bot" and install it.
- Enable: Enable the plugin from the list of installed plugins.
Usage π
Configuration
- Open Settings: Go to the plugin settings by clicking on the "AI Bot" tab in the Obsidian settings.
- Enter Base URL: Provide the base URL for the AI service.
- API Key: Enter your API key for authentication.
- Model: Specify the AI model you want to use.
- Max Tokens: Specify the max tokens of the model.
Interacting with the AI
- Ribbon Icon: Click on the AI bot icon in the ribbon to open the AI modal.
- Commands: Use the "Ask AI" command from the command palette to interact with the AI.
- Editor Menu: Right-click in the editor and select "Ask AI" from the context menu.
Modal Interface
- Input Field: Enter your query or command in the input field.
- Context Options: Choose the context for the AI's response (e.g., selected text, full note).
- Submit: Click "Ask AI" to get the AI's response.
- Actions: Use the provided buttons to copy, insert, or replace text based on the AI's response.
Contributing π€
We welcome contributions from the community! If you have ideas for improvements or new features, feel free to open an issue or submit a pull request.
Support π
If you find this plugin useful and would like to support its development, consider buying me a coffee β or sponsoring the project on GitHub.
License π
This project is licensed under the MIT License. See the LICENSE file for more details.
Happy note-taking with AI assistance! π
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.