theUpsider / semantic-scholar-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT Plugin for Semantic Scholar

Overview

This repository contains a ChatGPT plugin to communicate with the Semantic Scholar API. The codebase is primarily written in Python and is designed to integrate seamlessly with the ChatGPT plugin API.

Python

Table of Contents

Installation

Adapt all links in ai-plugin.json to your needs!

Prerequisites

  • Python 3.9 or higher
  • Docker (Optional)

Clone the Repository

git clone https://github.com/theUpsider/semantic-scholar-plugin.git
cd semantic-scholar-plugin

Docker Setup

If you'd like to run the application in a Docker container, a Dockerfile is provided. Build and run the Docker image as follows:

docker build -t chatgpt-plugin .
docker run -p 80:5000 chatgpt-plugin

Docker compose

Alternatively, you can use docker-compose to build and run the Docker image:

docker-compose up -d

But be careful, it uses traefik and letsencrypt to generate a certificate for the domain. Make sure to change the compose file to your needs!

Usage

To use the ChatGPT plugin, follow these steps:

  1. Start the Application: Run python app.py to start the application.
  2. Access the Plugin: The plugin will be accessible at http://localhost (or the port you've configured).
  3. Install in ChatGPT: Tutorial

License

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

About

License:MIT License


Languages

Language:Python 54.0%Language:HTML 33.6%Language:Dockerfile 12.4%