Skip to content

This tool allows you to enter the URL of a YouTube video and either get a summary of the video or ask a question related to the video. It uses the OpenAI GPT-3 model to generate the summary or answer the question.

Notifications You must be signed in to change notification settings

Vishal21121/youtube-video-info-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Video Transcript Query Tool

This tool allows you to enter the URL of a YouTube video and either get a summary of the video or ask a question related to the video. It uses the OpenAI GPT-3 model to generate the summary or answer the question.

Prerequisites

  • Node.js
  • An OpenAI API key

Installation

  1. Clone this repository:
git clone
  1. Install the dependencies:
    npm install
  1. Create a .env file in the root of your project and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here

Usage

Run the tool with the following command:

    node index.js

You will be prompted to enter the URL of a YouTube video. Then, you can choose to get a summary of the video or ask a question related to the video.

About

This tool allows you to enter the URL of a YouTube video and either get a summary of the video or ask a question related to the video. It uses the OpenAI GPT-3 model to generate the summary or answer the question.

Topics

Resources

Stars

Watchers

Forks