mohammadreza pakzadian commited on
Commit
cdf9023
·
1 Parent(s): 383cfe3

update youtube transcript tool

Browse files
Files changed (1) hide show
  1. tools/youtube_transcript.py +1 -1
tools/youtube_transcript.py CHANGED
@@ -4,7 +4,7 @@ import duckduckgo_search
4
 
5
  class YoutubeTranscriptTool(Tool):
6
  name = "youtube_transcript"
7
- description = "This tool allows you to retrieve the transcript/subtitles for a given YouTube video."
8
  inputs = {'video_id': {'type': 'string', 'description': 'The Id of YouTube video'}}
9
  output_type = "list[dict]"
10
 
 
4
 
5
  class YoutubeTranscriptTool(Tool):
6
  name = "youtube_transcript"
7
+ description = "This tool allows you to retrieve the transcript/subtitles for a given YouTube video. To use this tool you should pass in the video ID, not the video URL. For a video with the URL https://www.youtube.com/watch?v=12345 the ID is 12345."
8
  inputs = {'video_id': {'type': 'string', 'description': 'The Id of YouTube video'}}
9
  output_type = "list[dict]"
10