Hetfield08 commited on
Commit
0678f1b
·
verified ·
1 Parent(s): 9ad0512

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -55,6 +55,12 @@ def get_page_content(page_url):
55
  return f"Error accessing the page: {str(e)}"
56
  @tool
57
  def answer_nfl_question_tool(question: str) -> str:
 
 
 
 
 
 
58
  try:
59
  search_query = f"NFL {question}"
60
  print(f"🔍 Searching DuckDuckGo with query: {search_query}")
 
55
  return f"Error accessing the page: {str(e)}"
56
  @tool
57
  def answer_nfl_question_tool(question: str) -> str:
58
+ """
59
+ A tool that answers the user's questions about the NFL rules, tactics and players.
60
+
61
+ Args:
62
+ question: The user's question that agent have to lookup the answer using the DuckDuckGo browser
63
+ """
64
  try:
65
  search_query = f"NFL {question}"
66
  print(f"🔍 Searching DuckDuckGo with query: {search_query}")