cocolook commited on
Commit
ef3b735
·
verified ·
1 Parent(s): 0ca4cfd

Update app.py

Browse files

made some change

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,9 +20,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
20
  return "What magic will you build ?"
21
 
22
  @tool
23
- def get_relevant_joke(keyword: str = None) -> str:
24
  """
25
- Fetches a safe joke from the JokeAPI (v2.jokeapi.dev).
26
  It can return either a single-part or a two-part joke.
27
 
28
  The joke can be optionally filtered by a keyword to provide some relevance.
 
20
  return "What magic will you build ?"
21
 
22
  @tool
23
+ def get_a_joke(keyword: str = None) -> str:
24
  """
25
+ A tool that fetches a joke.
26
  It can return either a single-part or a two-part joke.
27
 
28
  The joke can be optionally filtered by a keyword to provide some relevance.