Setup

Make sure you have all the required packages installed before using this data type. You can install them by running the following command in your terminal.

pip install -U "embedchain[youtube]"

Usage

To add all the videos from a youtube channel to your app, use the data_type as youtube_channel.

from embedchain import App

app = App()
app.add("@channel_name", data_type="youtube_channel")