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.
- Node.js
- An OpenAI API key
- Clone this repository:
git clone
- Install the dependencies:
npm install
- Create a
.env
file in the root of your project and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
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.