v4nz777 / blog-to-summary-script

This script uses OpenAI API to generate summary and comments for a given blog article. It uses ChatGPT model, prompts for API key and the text of a blog article. It generates summary and 18 comments on the article and summary and prints them in console.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog-to-summary-script

About

This script uses OpenAI API to generate summary and comments for a given blog article. It uses ChatGPT model, prompts for API key and the text of a blog article. It generates summary and 18 comments on the article and summary and prints them in console.

Getting Started

  • Setup virtual environment pip install venv
  • Start venv with this command env_name/scripts/activate
  • Install requirements.txt using pip pip install -r requirements.txt
  • Finally run python ai.py

About

This script uses OpenAI API to generate summary and comments for a given blog article. It uses ChatGPT model, prompts for API key and the text of a blog article. It generates summary and 18 comments on the article and summary and prints them in console.


Languages

Language:Python 100.0%