Skip to content

Commit 88a5f1b

Browse files
authored
Update youtube readme (langgenius#87)
1 parent 0ae06b2 commit 88a5f1b

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

tools/youtube/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# YouTube
2+
3+
## Overview
4+
5+
[YouTube](https://www.youtube.com/) is the biggest online video sharing platform. Currently, Dify.ai has two relevant tools: `Video Statistics` to analyse the videos' information by entering the URL or keyword.
6+
7+
## Configuration
8+
9+
### 1. Apply for YouTube API Key
10+
11+
Ensure that you are allowed to use Google Cloud Service
12+
13+
> If you don't have an account, go to the [Google credential site](https://console.cloud.google.com/apis/credentials) and follow their instructions to create an account.
14+
15+
If you have the account, go to the APIs & Services page and click `Create credentials -> API key` to create an API key.
16+
17+
![](./_assets/youtube_1.PNG)
18+
19+
Follow the step and click `Enabled APIs and services -> YouTube Data API v3` to enable the YouTube Data API.
20+
21+
### 2. Setup the YouTube API in the Dify Tool page
22+
23+
On the Dify navigation page, click `Tools > Youtube > To Authorize` to fill in the API Key.
24+
25+
![](./_assets/youtube_2.PNG)
26+
27+
### 3. Using the tool
28+
29+
You can use the YouTube tool in the following application types:
30+
31+
![](./_assets/youtube_3.PNG)
32+
33+
#### Chatflow / Workflow applications
34+
35+
Both Chatflow and Workflow applications support adding **Video statistics** nodes.
36+
37+
#### Agent applications
38+
39+
Add the **Video statistics** tool in the Agent application, then enter relevant commands to invoke this tool.
205 KB
Loading
189 KB
Loading
169 KB
Loading

0 commit comments

Comments
 (0)