Skip to content

A powerfull plugin for Obsidian that integrates Groq's AI chat capabilities directly into your notes.

License

Notifications You must be signed in to change notification settings

semernyakov/polychat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolyChat Plugin for Obsidian

Release Downloads License Tests NPM Contributor Covenant

Русская версия | English version

A plugin for Obsidian that integrates Groq's AI chat capabilities directly into your notes.

PolyChat is a powerful chat extension with support for AI models via the Groq API. Designed for flexibility and ease of use, it enables seamless communication with multiple models directly from your vault.

Screenshots

Main Interface

polychat-main.png

Settings Interface

polychat-settings.png

Features

  • Direct integration with Groq AI models
  • Dynamic model list: models are updated in real-time, always fresh
  • Model Info Dialog: detailed info for each model (name, description, developer, max tokens, release status, etc.)
  • Support for text, vision (image), coder, and audio models
  • Localized interface (English/Russian)
  • Markdown formatting and code highlighting
  • Mobile support
  • Custom model selection
  • Chat history with IndexedDB/localStorage/file options
  • Context-aware responses
  • Raw/Markdown source view toggle for assistant messages
  • Configurable default display mode (tab or side panel)
  • Hotkeys and advanced settings
  • Secure API key storage
  • Open source and community-driven

Project Status

This project is actively maintained and developed. New features are added regularly, including dynamic model updates, vision/coder/audio support, and improved UI/UX. Automated tests and advanced model integrations (audio/image) are planned. Feedback and contributions are welcome!

Supported Models (Current List)

  • distil-whisper-large-v3-en
  • whisper-large-v3
  • llama-3.3-70b-versatile
  • deepseek-r1-distill-llama-70b
  • meta-llama/llama-guard-4-12b
  • whisper-large-v3-turbo
  • meta-llama/llama-4-maverick-17b-128e-instruct
  • compound-beta
  • llama3-8b-8192
  • playai-tts
  • mistral-saba-24b
  • qwen-qwq-32b
  • llama-guard-3-8b
  • meta-llama/llama-4-scout-17b-16e-instruct
  • llama3-70b-8192
  • playai-tts-arabic
  • gemma2-9b-it
  • compound-beta-mini
  • allam-2-7b
  • llama-3.1-8b-instant
  • meta-llama/llama-prompt-guard-2-22m
  • meta-llama/llama-prompt-guard-2-86m
  • qwen/qwen3-32b

See plugin settings for the full up-to-date list. Descriptions will be updated as soon as they become available.

Installation

  1. Open Obsidian Settings
  2. Go to Community Plugins and disable Safe Mode
  3. Click Browse and search for "PolyChat"
  4. Install the plugin
  5. Enable the plugin in Community Plugins

Configuration

  1. Get your API key from Groq Console
  2. Open plugin settings in Obsidian
  3. Enter your API key
  4. Configure additional settings as needed (Note: Settings have been updated, including options for default display mode and history storage. See plugin settings for details.)

Usage

  1. Open any note in Obsidian
  2. Click the PolyChat icon in the sidebar
  3. Select the model you want (models update in real time)
  4. Start chatting with AI (text, code)
  5. View model info any time via the Model Info Dialog

Development

# Clone the repository
git clone https://github.com/semernyakov/polychat.git

# Install dependencies
npm install

# Build the plugin
npm run build

# Lint the code
npm run lint

# Check for obsolete models
npm run check-models -- --help

Model Checking

The check_obsolete_models.ts script verifies if the plugin is using any obsolete Groq models.

Quick Start (Recommended)

# Check with custom plugin data path (Linux/macOS)
npm run check-models -- --plugin-data-dir=~/.config/obsidian/plugins/groq-chat-plugin/data

# Check with custom plugin data path (Windows)
npm run check-models -- --plugin-data-dir=%APPDATA%\\obsidian\\plugins\\groq-chat-plugin\\data

Additional Options

  1. Specify Obsidian config directory (if you know the path to .obsidian):

    npm run check-models -- --config-dir=~/.config/obsidian
  2. Use environment variables (useful for scripts):

    OBSIDIAN_VAULT_PATH=~/.config/obsidian \
    npm run check-models
  3. Development mode (uses default paths):

    NODE_ENV=development npm run check-models

Plugin Settings Location

Plugin settings are usually found in one of these locations:

  • Linux: ~/.config/obsidian/plugins/groq-chat-plugin/data/settings.json
  • Windows: %APPDATA%\\obsidian\\plugins\\groq-chat-plugin\\data\\settings.json
  • macOS: ~/Library/Application Support/obsidian/plugins/groq-chat-plugin/data/settings.json

What Does the Script Do?

  1. Finds the plugin's settings file
  2. Checks which models are specified in the settings
  3. Compares them with the current list of available Groq models
  4. Shows any obsolete or non-existent models

Contributing

Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.

Security

For security issues, please read our Security Policy and report any vulnerabilities responsibly.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you find this plugin helpful, consider:

Changelog

See CHANGELOG.ru.md for all changes.


Made with ❤️ for Obsidian Community,

Support developer with YooMoney

About

A powerfull plugin for Obsidian that integrates Groq's AI chat capabilities directly into your notes.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published