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
.envfile in the root of your project and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_hereRun the tool with the following command:
node index.jsYou 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.