Skip to content

w4rlock999/CastawayGPT

Repository files navigation

CastawayGPT

Description

CastawayGPT is a tool designed to:

  • Summarize YouTube podcasts
  • Recommend interesting timestamps for unique topics
  • Engage in a chat with context related to the video

CastawayGPT 4

CastawayGPT 3

Getting Started

  1. Clone the repository.
  2. Create a .env file under the server folder for your OpenAI API key, with API_KEY as the variable name.
  3. Run npm install in the root directory.
  4. Install the following Python dependencies using pip:
    pip install langchain chromadb scikit-learn openai flask numpy SQLAlchemy
  5. Run npm run dev in the root folder.
  6. Run flask --app server run in the server folder.

Note:

  • Chat with context feature is working with Langchain Agent and custom similarity search Langchain tool.
  • OpenAI language models used:
    • GPT-3.5-turbo-0613
    • Text-davinci:003
    • Text-embedding-ada-002-v2
  • Summarization is performed using "best representation vectors" to save cost.
  • Vector Store utilizes ChromaDB (currently persistent in ./server folder).
  • This repository is a work in progress, huge thanks to OpenAI, Langchain, ChromaDB, and Scikit-Learn.

About

Summarize, recommend interesting timestamp, and chat with your favorite Youtube podcast with OpenAI via Langchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published