Commit ·
7c53c52
1
Parent(s): 741f470
Update tools list in MainAgent
Browse files2 unmodified lines34567891011121314158 unmodified lines2425262728298 unmodified lines38394041424344454647482 unmodified linesfrom smolagents import OpenAIServerModel, ToolCallingAgentfrom tools import (AudioTranscriber,txt_reader,pdf_reader,excel_reader,math_calculator,search_engine,image_transcriber,)from utils import OPENAI_MODEL_ID8 unmodified linesIf you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.Each question will contain the question, the task ID, and if available, a file name."""8 unmodified linestools=[search_engine,math_calculator,AudioTranscriber(),txt_reader,pdf_reader,excel_reader,image_transcriber,],max_steps=5,model=model,2 unmodified lines3456789101112131415168 unmodified lines252627282930313233348 unmodified lines4344454647484950515253542 unmodified linesfrom smolagents import OpenAIServerModel, ToolCallingAgentfrom tools import (AudioTranscriberTool,txt_reader,pdf_reader,excel_reader,math_calculator,search_engine,image_transcriber,YoutubeTranscriberTool,)from utils import OPENAI_MODEL_ID8 unmodified linesIf you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.Each question will contain the question, the task ID, and if available, a file name.Key points:- Do not add any prefix or suffix to YOUR FINAL ANSWER.- Answer shortly and concisely, following the template strictly."""8 unmodified linestools=[search_engine,math_calculator,AudioTranscriberTool(),txt_reader,pdf_reader,excel_reader,image_transcriber,YoutubeTranscriberTool(),],max_steps=5,model=model,
agent.py+8-2