Git Product home page Git Product logo

yt-chat's Introduction

yt-chat logo

yt-chat is a tool designed to help you summarize any Youtube video.

Once a video is summarized, you can also ask more precise questions about the video in question.


Installation

After cloning the repository, and with poetry installed, run the following command from the repository root:

poetry install

To run yt-chat, simply do:

poetry run chainlit run yt_chat/app.py -w

If you don't want to bother, you can also use try the online version (only handles OpenAI).

Using ChatGPT-3.5

If you wish to use an OpenAI model, for example gpt-3.5, you will need your OpenAI API key.

Once you've input your OpenAI API key requested by yt-chat, select the ChatGPT chat profile in the UI.

Using Mistral-7B

If you wish to use a local ollama model, for example mistral-7b, you will need to install ollama on your machine.

First, make sure your ollama server is running. Then, run yt-chat (when running yt-chat for the first time, you will asked for an OpenAI API key; this is irrelevant for local models, enter anything to continue).

Once yt-chat is running, simply select the Mistral chat profile in the UI.

Configuration

Check out yt_chat/config.py and yt_chat/config_messages.py for configuring the app parameters and prompts.

Adding your own models

If you wish to use yt-chat with other models than gpt-3.5 or mistral-7b, check out this tutorial.

Docker

We provide Docker support:

docker-compose up -d --build

Acknowledgments

yt-chat is powered by chainlit, qdrant, and ollama.

yt-chat's People

Contributors

acordier16 avatar mcordier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.