connectwithprakash commited on
Commit
f3334b5
·
verified ·
1 Parent(s): 1a9a7b6

Fix the issue with get bio tool.

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,8 +39,9 @@ def get_person_bio(name: str) -> str:
39
  Args:
40
  name: name of the person in "firstname_lastname" format
41
  """
 
42
  details = {
43
- "prakash_chaudhary": "Prakash is an employee of Fetch Rewards, Inc."
44
  }
45
  return details.get(name, "NA")
46
 
 
39
  Args:
40
  name: name of the person in "firstname_lastname" format
41
  """
42
+ name_key = "_".join(name.split(" ")).lower()
43
  details = {
44
+ "prakash_chaudhary": "Prakash is an employee of Fetch Rewards, Inc. He loves working with agents and has in-depth knowledge around the field."
45
  }
46
  return details.get(name, "NA")
47