Youtube

Bring the world of YouTube into your flows.

Description

The YouTube component allows you to analyze and extract meaning from YouTube videos.

Note that the YouTube video must have a subtitle for it to be able to be analyzed.

The YouTube component value has the identifier of ytb-X, where X represents the instance number of the YouTube component.

Inputs

The YouTube component does not have any input connections.

Component settings

Parameter NameDescription

URL

This parameter specifies the URL or collection of URLs to source data from.

Detected language

Set the language for your video.

Advanced configurations

OptionsDescription

Enable caching

This option determines whether the results of the component are cached. This means that on the next run of the Flow, Diaflow will utilize the previous computed component output, as long as the inputs have not changed.

Caching time

Only applicable if the "Enable Caching" option has been enabled. This parameter controls how long Diaflow will wait before automatically clearing the cache.

Outputs

The YouTube component has the following output connections.

Output NameDescriptionConstraints

To VectorDB/LLM/Python

This output connection represents the YouTube video at the specified URL location.

This must be connected to either an LLM, Python or VectorDB component.

Use case

Here is a simple use case of the YouTube component, where the YouTube component is being used to provide input context to an OpenAI GPT AI component, which generates an answer to a user supplied question regarding the YouTube video.

Last updated