huytofu92 commited on
Commit
6056455
·
1 Parent(s): 9b3c11b
Files changed (1) hide show
  1. community_tools.py +2 -2
community_tools.py CHANGED
@@ -15,11 +15,11 @@ arxiv_tools = [Tool.from_langchain(tool) for tool in load_tools(["arxiv"])]
15
  community_tools = [google_map_tool, wikipedia_tool, *arxiv_tools]
16
 
17
  @tool
18
- def get_youtube_transcript_from_url(video_url: str = None)->str:
19
  """
20
  Get the transcript of a YouTube video
21
  Args:
22
- video_url: The URL of the YouTube video
23
  Returns:
24
  The transcript of the YouTube video as a string
25
  """
 
15
  community_tools = [google_map_tool, wikipedia_tool, *arxiv_tools]
16
 
17
  @tool
18
+ def get_youtube_transcript_from_url(video_url: str)->str:
19
  """
20
  Get the transcript of a YouTube video
21
  Args:
22
+ video_url: The URL of the YouTube video (e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ)
23
  Returns:
24
  The transcript of the YouTube video as a string
25
  """