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.
Adapt all links in ai-plugin.json to your needs!
- Python 3.9 or higher
- Docker (Optional)
git clone https://github.com/theUpsider/semantic-scholar-plugin.git
cd semantic-scholar-plugin
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
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!
To use the ChatGPT plugin, follow these steps:
- Start the Application: Run
python app.py
to start the application. - Access the Plugin: The plugin will be accessible at
http://localhost
(or the port you've configured). - Install in ChatGPT: Tutorial
This project is licensed under the MIT License - see the LICENSE file for details.