This repository contains the code from this video:
Build a Summarizer and Q&A with ChatGPT/GPT-3 APIs - Point AI series
Questions/suggestions? Come ask me in our Telegram group: https://t.me/pointnetworkchat
git clone https://github.com/sergevar/summarizer.git
cd summarizer
pip install -r requirements.txt
cp .env.example .env
https://platform.openai.com/account/api-keys
Set in .env
file:
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxx"
python3 summarize.py https://URLofWebPageOrPDFToSummarize
python3 summarize.py https://URLofWebPageOrPDFToSummarize "Your question here"