kdipakkumar commited on
Commit
27ddd51
·
verified ·
1 Parent(s): 0b42c95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -12,12 +12,13 @@ from typing import Callable
12
  @tool
13
  def my_custom_tool(arg1:str)-> str: #it's import to specify the return type
14
  #Keep this format for the description / args / args description but feel free to modify the tool
15
- """A tool takes city name as input and returns tourism information.
 
 
16
  Args:
17
  arg1: the first argument
18
  """
19
- cur_time = get_current_time_in_timezone(arg1)
20
- return "my customer tool: Information about the city: {arg1} & {cur_time} is current time in {arg1}."
21
 
22
  @tool
23
  def get_current_time_in_timezone(timezone: str) -> str:
 
12
  @tool
13
  def my_custom_tool(arg1:str)-> str: #it's import to specify the return type
14
  #Keep this format for the description / args / args description but feel free to modify the tool
15
+ """A tool takes city name as input and returns information related to
16
+ 1. Tourism
17
+ 2. Weather
18
  Args:
19
  arg1: the first argument
20
  """
21
+ return "my customer tool: Information about the city: {arg1}."
 
22
 
23
  @tool
24
  def get_current_time_in_timezone(timezone: str) -> str: