bivalve commited on
Commit
0d9d5fa
·
1 Parent(s): 3a8ba20

fixed tool parsing issue in tools.py

Browse files
Files changed (1) hide show
  1. tools.py +3 -3
tools.py CHANGED
@@ -347,9 +347,9 @@ def transcribe_audio_file(file_path: str) -> str:
347
  @tool(parse_docstring=True)
348
  def question_youtube_video(video_url: str, query: str) -> str:
349
  """
350
- This function returns an answer to a question about a YouTube video.
351
- The video is streamed and one frame is captured every `capture_interval_sec` seconds.
352
- These frames are sent sequentially to a multimodal model to answer the question about the video.
353
  The final answer is aggregated from the answers to each frame.
354
  DOES NOT USE AUDIO! ONLY FRAMES FROM THE VIDEO ARE USED TO ANSWER THE QUESTION.
355
 
 
347
  @tool(parse_docstring=True)
348
  def question_youtube_video(video_url: str, query: str) -> str:
349
  """
350
+ Answers a question about a YouTube video.
351
+ The video is streamed and one frame is captured every x seconds, where x is declared in the environment settings.
352
+ Captured frames are sent sequentially to a multimodal model to answer the question about the video.
353
  The final answer is aggregated from the answers to each frame.
354
  DOES NOT USE AUDIO! ONLY FRAMES FROM THE VIDEO ARE USED TO ANSWER THE QUESTION.
355