Spaces:
Sleeping
Sleeping
Shourya Angrish commited on
Commit ·
f8ea2f8
1
Parent(s): ae7a494
get commands adding
Browse files17 unmodified lines18192021222317 unmodified lines"""return "What magic will you build ?"@tooldef get_current_time_in_timezone(timezone: str) -> str:"""A tool that fetches the current local time in a specified timezone.17 unmodified lines181920212223242526272829303132333417 unmodified lines"""return "What magic will you build ?"@tooldef get_commands(arg1:str)-> str:"""A tool that fetches the commands from a given software.Args:arg1: the software name."""duck = DuckDuckGoSearchTool()software_query = f"Top 5 commands for the {arg1}"results = duck(software_query)return f"Here are the top 5 commands for {arg1}:\n{results}"@tooldef get_current_time_in_timezone(timezone: str) -> str:"""A tool that fetches the current local time in a specified timezone.
app.py+11