A Next.js API for summarizing content from YouTube videos and web pages using LangChain and OpenAI embeddings. This project automates content summarization, providing concise overviews of large bodies of text or video transcripts.
This is a Next.js API route that summarizes content from YouTube videos and web pages using LangChain and OpenAI embeddings. The API accepts a URL and generates a concise summary of the content, which is particularly useful for quickly understanding large bodies of text or video transcripts.
https://github.com/user-attachments/assets/76ad016a-3cfa-4566-b4ba-70b215e813b6
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
npm install
OPENAI_API_KEY=your_openai_api_key
npm run dev
This will start the application on http://localhost:3000.
Groq API Key: You will need to enter your Groq API key in the provided input field on the UI to generate content summaries.
Use the provided UI to input the link of a YouTube video or a web page and obtain a summarized version of the content.