Skip to content

sergevar/summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summarizer

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

Install

git clone https://github.com/sergevar/summarizer.git
cd summarizer
pip install -r requirements.txt
cp .env.example .env

Add your API key

https://platform.openai.com/account/api-keys

Set in .env file:

OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxx"

Run

Summary mode

python3 summarize.py https://URLofWebPageOrPDFToSummarize

Q&A mode

python3 summarize.py https://URLofWebPageOrPDFToSummarize "Your question here"

About

Summarize text and PDFs with GPT-3 API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published