Spaces:
Sleeping
Sleeping
Update FC_tool_main.py
Browse files- FC_tool_main.py +3 -3
FC_tool_main.py
CHANGED
@@ -352,15 +352,15 @@ class YouTubeAgent:
|
|
352 |
YouTubeTranscriptPointsExtractor.extract_clickable_points,
|
353 |
]
|
354 |
|
355 |
-
self.sys_message = """You are a helpful assistant
|
356 |
-
|
357 |
Important instructions:
|
358 |
1. Only use the 'extract_clickable_points' tool when the user explicitly asks for clickable points or timestamps from a video.
|
359 |
2. For all other queries, including general questions about video content, use the 'get_answer' tool.
|
360 |
3. If the user's query is unclear, ask for clarification before using any tools.
|
361 |
4. Always provide concise and relevant responses based on the tool outputs.
|
362 |
|
363 |
-
Remember to interpret the user's intent carefully and use the appropriate
|
364 |
|
365 |
self.functions = [convert_to_openai_function(f) for f in self.tools]
|
366 |
|
|
|
352 |
YouTubeTranscriptPointsExtractor.extract_clickable_points,
|
353 |
]
|
354 |
|
355 |
+
self.sys_message = """You are a helpful assistant.
|
356 |
+
|
357 |
Important instructions:
|
358 |
1. Only use the 'extract_clickable_points' tool when the user explicitly asks for clickable points or timestamps from a video.
|
359 |
2. For all other queries, including general questions about video content, use the 'get_answer' tool.
|
360 |
3. If the user's query is unclear, ask for clarification before using any tools.
|
361 |
4. Always provide concise and relevant responses based on the tool outputs.
|
362 |
|
363 |
+
Remember to interpret the user's intent carefully and use the appropriate tools."""
|
364 |
|
365 |
self.functions = [convert_to_openai_function(f) for f in self.tools]
|
366 |
|