kazgu / zotero-chatgpt

ChatGPT plugin for Zotero
GNU Affero General Public License v3.0
221 stars 11 forks source link

Zotero ChatGPT Plugin

Overview

The Zotero ChatGPT Plugin integrates the powerful capabilities of the ChatGPT AI model directly into Zotero, enabling users to ask questions and receive intelligent responses without leaving the Zotero environment. This plugin enhances your research workflow by allowing you to quickly gather insights, generate content, and clarify concepts related to your references and notes.

Features

Getting Started

Prerequisites

Before installing the Zotero ChatGPT Plugin, ensure you have the following:

Installation

  1. Download the Plugin: Visit the Zotero ChatGPT GitHub Repository and download the latest release.

  2. Install the Plugin:

    • Open Zotero.
    • Go to Tools > Add-ons > Install Add-on From File...
    • Select the downloaded plugin file (.xpi) and click Open.
  3. Configure API Key and Base URL:

    • After installation, navigate to the plugin settings in Zotero.
    • Enter your OpenAI API key and the desired base URL for the API.

Example Usage

Once installed and configured, you can start asking questions directly within Zotero. Here’s how:

  1. Select a reference or note in your Zotero library.
  2. Open the ChatGPT plugin interface from the Zotero toolbar.
  3. Type your question in the input field (e.g., "What are the main findings of this study?").
  4. Click the "Ask" button to receive a response from ChatGPT.

Configuration

To configure your plugin settings:

  1. Go to the plugin settings in Zotero.
  2. Enter your OpenAI API Key:
    • Sign up at OpenAI and create an API key if you don’t have one.
  3. Set the Base URL:
    • Adjust the base URL if you are using a different endpoint or a custom API setup.

Best Practices

Troubleshooting

If you encounter issues, consider the following:

  1. Check API Key: Ensure that your OpenAI API key is correctly entered and has the necessary permissions.
  2. Inspect Error Messages: Review any error messages displayed in the plugin for clues.
  3. Consult Documentation: Refer to the OpenAI API documentation for further assistance.

Contributing

Contributions are welcome! To contribute to the Zotero ChatGPT Plugin:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Submit a pull request with a clear description of your changes.

Thank you for using the Zotero ChatGPT Plugin! We hope it enhances your research experience by providing quick and insightful responses to your queries. Happy researching!