Dave67350 commited on
Commit
65d3a74
·
verified ·
1 Parent(s): 7278fcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -36,20 +36,19 @@ ai_regulation_tool = AIRegulationModel()
36
 
37
  @tool
38
  def ai_regulation_query_tool(query: str) -> str:
39
- """Queries an AI model for information on AI regulation.
40
-
41
- This function sends a query related to AI regulations to the AI model and
42
- returns a relevant response.
43
 
44
  Args:
45
- query (str): A string containing the question or topic related to AI regulations.
46
 
47
  Returns:
48
- str: A response generated by the AI model, providing insights on AI regulations.
49
  """
50
  return ai_regulation_tool.get_regulation_info(query)
51
 
52
 
 
53
  @tool
54
  def get_current_time_in_timezone(timezone: str) -> str:
55
  """Fetches the current local time in a specified timezone.
 
36
 
37
  @tool
38
  def ai_regulation_query_tool(query: str) -> str:
39
+ """
40
+ Queries an AI model for information on AI regulation.
 
 
41
 
42
  Args:
43
+ query (str): The user's question regarding AI regulations.
44
 
45
  Returns:
46
+ str: A response generated by the AI regulation model.
47
  """
48
  return ai_regulation_tool.get_regulation_info(query)
49
 
50
 
51
+
52
  @tool
53
  def get_current_time_in_timezone(timezone: str) -> str:
54
  """Fetches the current local time in a specified timezone.