Skip to content

use youtube chapter as hints and metadata in the youtube loaderΒ #7366

@thiswillbeyourgithub

Description

@thiswillbeyourgithub

Feature request

When using the youtube loader. I think it would be useful to take into account the chapters if present.

  1. The chapter timecode could be used to know when to chunk. Any chunk inside a chapter timeframe could also contain the same "youtube_chapter_title" metadata.
  2. The name of the chapter could added directly inside the transcript. For example as a markdown header. This could be useful for LLM to maintain context over time.

Motivation

There are useful information present in the youtube chapter title and timecodes that could be of use to LLMs.

Summarizing transcripts would probably be of higher quality if headers are present rather than a huge wall of text.

Adding metadata is always a win.

Your contribution

Unfortunately not able to help for the time being but wanted to get the idea out there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions