As technology advances, it reverses the characteristics of every situation again and again. The age of automation is going to be the age of 'do it yourself.'
-- Marshall McLuhan
This is a bare-bones ChatGPT plugin that retrieves thought-provoking quotes from famous figures throughout history. For an in-depth walkthrough on this plugin, please read my article "ChatGPT Plugins Demystified: A Tutorial for Developers", which you can find on my Medium page.
This project provides an API powered by FastAPI and built with Poetry. The following instructions can get you started.
- Install Python 3.10.
- Run the following commands:
python3 -m pip install poetry # Install Poetry
poetry env use python3 # Specify the Python binary
poetry install # Install dependenciesIf you prefer to use an Anaconda virtual environment:
conda create -n chatgpt python=3.10 # Install Python 3.10
conda activate chatgpt # Activate conda env
pip install poetry # Install Poetry
poetry env use `which python` # Specify the Python binary
poetry install # Install dependenciesYou should now be able to run the web server:
poetry run startQuotes were borrowed from the inspirational-quotes repo.